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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sLrSi  
+y'V  
struts.action.extension `B'*ln'r5  
      The URL extension to use to determine if the request is meant for a Struts action __o`+^FS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Vz[E)(QX-`  
~'>RK  
struts.configuration 5mxHOtvtWM  
      The org.apache.struts2.config.Configuration implementation class 9c9F C  
        org.apache.struts2.config.Configuration接口名 uTgBnv(Y*  
Mwp[?#1j  
struts.configuration.files o>*vG  
      A list of configuration files automatically loaded by Struts DID&fj9m  
      struts自动加载的一个配置文件列表 jR-DH]@y  
DY1?37h  
struts.configuration.xml.reload <{ !^  
      Whether to reload the XML configuration or not Q M7z .  
      是否加载xml配置(true,false) x}Qet4vV  
7oaa)  
struts.continuations.package E)z[@Np  
      The package containing actions that use Rife continuations :a$ZYyD  
      含有actions的完整连续的package名称 h<;kj#qbb  
Y8!T4dkn  
struts.custom.i18n.resources uX_A4ht*  
      Location of additional localization properties files to load N'hj  
      加载附加的国际化属性文件(不包含.properties后缀) {g9?Eio^F^  
AdBF$nn[  
struts.custom.properties kw)@[1U  
      Location of additional configuration properties files to load wXw pKm  
      加载附加的配置文件的位置 iC- ?F cA  
5c6CH k`:  
gNk x]bm  
struts.devMode $[9,1.?C  
      Whether Struts is in development mode or not c*MSd  
      是否为struts开发模式 " a;z  
St/<\Y,wr  
struts.dispatcher.parametersWorkaround {6MLbL{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /?X1>A:*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K|*Cka{  
9`{[J['V  
struts.enable.DynamicMethodInvocation Q)N$h07R  
      Allows one to disable dynamic method invocation from the URL pl62mp!  
        允许动态方法调用 [XFZ2'OO  
1o)Vzv  
struts.freemarker.manager.classname s '%KKC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 47I5Y5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mtDRF'>P:  
e  iS~*@  
struts.i18n.encoding x" 21 Jh  
      The encoding to use for localization messages ~/?JRL=  
      国际化信息内码  |F5^mpU  
L8-  
struts.i18n.reload _nu %`?Va  
      Whether the localization messages should automatically be reloaded N!6{c~^  
      是否国际化信息自动加载 +js3o@Ku{\  
bh=d'9B@&J  
struts.locale "aNl2T  
      The default locale for the Struts application `K[:<p}  
      默认的国际化地区信息 {m5tgVi&  
W"9iFj X  
struts.mapper.class g*8LdH 6mq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b:fy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '>FJk`iI  
$t5 0<1  
struts.multipart.maxSize G3QB Rh{  
      The maximize size of a multipart request (file upload) Q"c!%`\  
      multipart请求信息的最大尺寸(文件上传用) -eAo3  
L^PZ\OC  
struts.multipart.parser q|m8G  
      The org.apache.struts2.dispatcher.multipart. 9R.IYnq  
      MultiPartRequest parser implementation for a multipart request (file upload) (?-5p;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wqo2iRql  
9/C0DDb  
j}YZl@dYV  
struts.multipart.saveDir @(.?e<  
      The directory to use for storing uploaded files (zkh`8L  
      设置存储上传文件的目录夹  01I5,Dm  
 N3^pFy`  
struts.objectFactory #|*;~:fz  
      The com.opensymphony.xwork2.ObjectFactory implementation class }8Wp X2U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ixN>KwH  
aq3evm  
struts.objectFactory.spring.autoWire :6LOb f\01  
      Whether Spring should autoWire or not cqeId&Cg  
      是否自动绑定Spring G-oC A1UdN  
b><jhbv  
struts.objectFactory.spring.useClassCache M"F?'zTkJ  
      Whether Spring should use its class cache or not ?!(/;RU1  
      是否spring应该使用自身的cache W.p->,N  
GV)#>PL  
struts.objectTypeDeterminer e 1{t qNJ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bj` cYL%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]!H*oP8a*  
:j$K.3n  
struts.serve.static.browserCache [ANit0-~  
If static content served by the Struts filter should set browser caching header properties or not 1DcYc-k#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y>!9P\Xe  
#m 3WZ3t$  
struts.serve.static "d'xT/l "  
      Whether the Struts filter should serve static content or not mm%w0dOb"  
      是否struts过滤器应该提供静态内容 G1B~?i2$ ?  
G~)jk+Qq  
struts.tag.altSyntax 'ntb.S)  
      Whether to use the alterative syntax for the tags or not en7i})v\".  
      是否可以用替代的语法替代tags H^"BK-`hs  
_%l+v  
struts.ui.templateDir Tp~yn  
      The directory containing UI templates ]>E9v&X0  
      UI templates的目录夹 eG # (9  
M "p6xp/  
struts.ui.theme 3hR7 . /  
      The default UI template theme Bt,qG1>$-  
      默认的UI template主题 dv4)fG]W;_  
BieII$\P%P  
struts.url.http.port {d(PH7R  
      The HTTP port used by Struts URLs c}vy9m$B_  
      设置http端口 do*`-SDy  
R#tz"T@  
struts.url.https.port WlP@Tm5g/  
      The HTTPS port used by Struts URLs jLvI!q   
      设置https端口 7|zt'.56[  
P;KbS~ SlC  
struts.url.includeParams [OG-ZcNu?  
      The default includeParams method to generate Struts URLs aVuan&]*=  
      在url中产生 默认的includeParams Cd#*Wp)s  
f&`v-kiAn=  
)Tngtt D  
struts.velocity.configfile  9 N=KU  
      The Velocity configuration file path PGT!HdX#{  
      velocity配置文件路径 Tv3ZNh  
_KmpC>J+  
struts.velocity.contexts oD{V_/pdx  
      List of Velocity context names EN.yU!N.4  
      velocity的context列表 lGG1d  
w,8 M  
] >ipC,v  
struts.velocity.manager.classname Djf2ir'  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?O4Dhu  
      org.apache.struts2.views.velocity.VelocityManager接口名 DJ} xD&G  
xx;'WL,g  
struts.velocity.toolboxlocation 6z%3l7#7Yi  
      The location of the Velocity toolbox ;~~Oc  
      velocity工具盒的位置 a,cDj  
struts.xslt.nocache cdU2ph_  
      Whether or not XSLT templates should not be cached R$,`}@VqZ3  
      是否XSLT模版应该被缓存 nq/xD;q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八