社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5032阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7nsn8WN[  
*GUQz  
struts.action.extension YF)uAJAk  
      The URL extension to use to determine if the request is meant for a Struts action OO$YwOKS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M{(g"ha  
;iB9\p$K)  
struts.configuration F"|OcKAA}h  
      The org.apache.struts2.config.Configuration implementation class irZMgRQAT  
        org.apache.struts2.config.Configuration接口名 :`jB1rI  
%X|fp{C  
struts.configuration.files 10gh4,z[  
      A list of configuration files automatically loaded by Struts ZwzN=03T  
      struts自动加载的一个配置文件列表 p"'knZ G  
JCe%;U  
struts.configuration.xml.reload )s-[d_g  
      Whether to reload the XML configuration or not ~-J!WC==U  
      是否加载xml配置(true,false) Ka4KsJN  
Fy6(N{hql  
struts.continuations.package 5I`_S Oa!  
      The package containing actions that use Rife continuations b7uxCH]Z  
      含有actions的完整连续的package名称 v~B "Il  
dp|VQWCq  
struts.custom.i18n.resources s!g06F  
      Location of additional localization properties files to load f*%Y]XL;%  
      加载附加的国际化属性文件(不包含.properties后缀) A )q=.C#e  
d~QZc R  
struts.custom.properties &m PR[{  
      Location of additional configuration properties files to load GEs5@EH  
      加载附加的配置文件的位置 6&,{"N0 T  
+|K/*VVn`  
>2^|r8l5  
struts.devMode .wpp)M.w;H  
      Whether Struts is in development mode or not }+/F?_I= %  
      是否为struts开发模式 }VU7wMk  
)a=FhSB[G  
struts.dispatcher.parametersWorkaround _xz>O [unf  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L> \/%x>Wx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O>c2*9PM  
zcE` .)y  
struts.enable.DynamicMethodInvocation e~1$x`DH  
      Allows one to disable dynamic method invocation from the URL b/]@G05>>  
        允许动态方法调用 qX"m"ko  
^ZD0rp(l  
struts.freemarker.manager.classname K&IHt?vh!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D,,$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %;ZDw@_<  
4_KRH1  
struts.i18n.encoding ;\],R.!  
      The encoding to use for localization messages ']^_W0?=  
      国际化信息内码 *7`amF-  
C'&t@@:  
struts.i18n.reload 1\LK[tvh  
      Whether the localization messages should automatically be reloaded 8eDKN9kq  
      是否国际化信息自动加载 #W2#'J:l  
~E3"s  
struts.locale Pm=i(TBS/  
      The default locale for the Struts application 'iikcf*)C  
      默认的国际化地区信息 F !MxC  
s g6e% 5  
struts.mapper.class IuOQX}  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bc1MKE5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pcO{%]?p  
&B@qb?UE1  
struts.multipart.maxSize <,+6:NmT  
      The maximize size of a multipart request (file upload) +]S!pyZ"   
      multipart请求信息的最大尺寸(文件上传用) &^JYIRn1\  
x67,3CLy?  
struts.multipart.parser QV*W#K\7q  
      The org.apache.struts2.dispatcher.multipart. &Tn7  
      MultiPartRequest parser implementation for a multipart request (file upload) -z?O^:e#x  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) nOdAp4{:q%  
jKhj 7dR  
n||!/u)*  
struts.multipart.saveDir H\RuYCn2G  
      The directory to use for storing uploaded files &k0c|q]  
      设置存储上传文件的目录夹 E?^A+)<"  
;h#nal>w@S  
struts.objectFactory d A' h7D  
      The com.opensymphony.xwork2.ObjectFactory implementation class Nbm=;FHB`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fwfe5`9'  
qkh.? ~  
struts.objectFactory.spring.autoWire +{/*P 5  
      Whether Spring should autoWire or not <#5`%sa '  
      是否自动绑定Spring K}YOs.  
G[[NDK  
struts.objectFactory.spring.useClassCache }hX"A!0  
      Whether Spring should use its class cache or not Xn:ac^  
      是否spring应该使用自身的cache bcy( ?(  
2z=GKV  
struts.objectTypeDeterminer ||vQW\g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ea2&7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  {r?qI  
+6v;( ] y  
struts.serve.static.browserCache k%v/&ojI  
If static content served by the Struts filter should set browser caching header properties or not fl18x;^I  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L~~Dj:%uq  
dwt<s [k  
struts.serve.static mca9 +v  
      Whether the Struts filter should serve static content or not ;q&\>u:  
      是否struts过滤器应该提供静态内容 )gAFz+  
*cn#W]AE  
struts.tag.altSyntax \ml6B6  
      Whether to use the alterative syntax for the tags or not r ,,A%  
      是否可以用替代的语法替代tags 5"JnJH  
I NE,/a=  
struts.ui.templateDir I#tEDeF2  
      The directory containing UI templates XT5Vo  
      UI templates的目录夹 o ) FjWf;  
^2PQ75V@.  
struts.ui.theme t(:6S$6{e  
      The default UI template theme ;ckv$S[p  
      默认的UI template主题 SEXLi8;/  
7#R& OQ  
struts.url.http.port {l7@<xZ??M  
      The HTTP port used by Struts URLs (dC<N3  
      设置http端口 _(\\>'1q!  
9h6xli  
struts.url.https.port `|^<y.-6  
      The HTTPS port used by Struts URLs (A*r&Ak[  
      设置https端口 ab 1\nzpd  
uXNf)?MpA  
struts.url.includeParams VrokEK*qbY  
      The default includeParams method to generate Struts URLs B|O/h! H.  
      在url中产生 默认的includeParams o/fq  
H\3CvFm  
>gr6H1  
struts.velocity.configfile Tj{!Fx^H  
      The Velocity configuration file path 8[FC  
      velocity配置文件路径 ZX.VzZS  
}# -N7=h  
struts.velocity.contexts 5Wi5`8m  
      List of Velocity context names ,U'Er#U  
      velocity的context列表 V]PTAhc  
&T}v1c7)  
Drlt xI)  
struts.velocity.manager.classname @ec QVk  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;<q@>p[  
      org.apache.struts2.views.velocity.VelocityManager接口名 DoPm{055J  
|U^ ff^]  
struts.velocity.toolboxlocation va;d[D,  
      The location of the Velocity toolbox n37( sKG  
      velocity工具盒的位置 X5U!25d]  
struts.xslt.nocache &nn.h@zje  
      Whether or not XSLT templates should not be cached IFPywL{K  
      是否XSLT模版应该被缓存 B>Nxc@=D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五