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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?^{Ey[)'(  
0Y/k /)Ul]  
struts.action.extension ou [Wz{  
      The URL extension to use to determine if the request is meant for a Struts action ^-7-jZ@jz  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3y-P-NI~=  
}62Q{>`  
struts.configuration $"`e^J9!!  
      The org.apache.struts2.config.Configuration implementation class c.h_&~0qf  
        org.apache.struts2.config.Configuration接口名 .,gVquqMY  
:/i13FQ  
struts.configuration.files ~{!,ZnO*  
      A list of configuration files automatically loaded by Struts j4Y] 8  
      struts自动加载的一个配置文件列表 qX*Xo[Xp  
;Dc\[r  
struts.configuration.xml.reload mH!\]fmR~  
      Whether to reload the XML configuration or not )|<g\>/  
      是否加载xml配置(true,false)  Rlx  
'd9cCQ}  
struts.continuations.package d x"9jFn  
      The package containing actions that use Rife continuations p&3~n: Fo  
      含有actions的完整连续的package名称 bE2{^5iG  
A9M/n^61  
struts.custom.i18n.resources RJLhR_t7n  
      Location of additional localization properties files to load jN2Xoh9  
      加载附加的国际化属性文件(不包含.properties后缀) ()yOK$"  
<"x *ZT  
struts.custom.properties Owm2/  
      Location of additional configuration properties files to load +c\uBrlZQ;  
      加载附加的配置文件的位置 YPS,[F'B.  
8YkCTJfBGu  
i-Ri;E  
struts.devMode mJS-x-@  
      Whether Struts is in development mode or not <W88;d33r=  
      是否为struts开发模式 $EPDa?$*  
/G#W/Q  
struts.dispatcher.parametersWorkaround rvBKJ!b0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /V!gF+L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zl["}I(*n  
]8EkZC  
struts.enable.DynamicMethodInvocation hV"2L4/E  
      Allows one to disable dynamic method invocation from the URL X*rB`M7,  
        允许动态方法调用 dsA::jR0P6  
<F+9#-  
struts.freemarker.manager.classname Vvk \ $'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j'&a)-Wx_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bv'Z~@<c  
sys;Rz2  
struts.i18n.encoding mNr<=Z%b  
      The encoding to use for localization messages t[x[X4  
      国际化信息内码 8Nxyc>8K~  
jp+#N pH  
struts.i18n.reload <^B!.zQ  
      Whether the localization messages should automatically be reloaded 1Yy*G-7}  
      是否国际化信息自动加载 dF0:'y  
]\oE}7K%r  
struts.locale 5c3&4,,eR  
      The default locale for the Struts application "aeKrMgc6V  
      默认的国际化地区信息 mS >I#?  
[N guQ]B.  
struts.mapper.class <N\#6m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |NaEXzo|qY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 He)dm5#fg  
_D."KU|  
struts.multipart.maxSize z;[Z'_B  
      The maximize size of a multipart request (file upload) Lcy>!3q3~  
      multipart请求信息的最大尺寸(文件上传用) [:-o;K\.-a  
_JXb|FIp  
struts.multipart.parser bL18G(5  
      The org.apache.struts2.dispatcher.multipart. J|[`8 *8  
      MultiPartRequest parser implementation for a multipart request (file upload) i@`T_&6l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y{1|@?ii  
Y%]&h#F  
&\s>PvnquX  
struts.multipart.saveDir iC\t@BVS  
      The directory to use for storing uploaded files 2[$` ]{U  
      设置存储上传文件的目录夹 <t4l5nr#  
Wy,Tf*[  
struts.objectFactory ?u /i8  
      The com.opensymphony.xwork2.ObjectFactory implementation class Ue]GHJ2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _K|513I  
>l|dLyiae  
struts.objectFactory.spring.autoWire ppo\cy;  
      Whether Spring should autoWire or not `(?x@Y>.Ht  
      是否自动绑定Spring {"w4+m~+te  
|&a[@(N:zf  
struts.objectFactory.spring.useClassCache ^)|1T#Tz  
      Whether Spring should use its class cache or not "M5&&\uT  
      是否spring应该使用自身的cache Og3bV_,"  
(_O_zu8_  
struts.objectTypeDeterminer 9:jZ3U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mbRN W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B$cx '_zF  
sy.U] QG  
struts.serve.static.browserCache NX4}o&mDwn  
If static content served by the Struts filter should set browser caching header properties or not 9b*1-1"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aj*%$!SU+  
zMQ|j_ l9E  
struts.serve.static Qr l>A*  
      Whether the Struts filter should serve static content or not _w>9Z>PR  
      是否struts过滤器应该提供静态内容 cYMlc wS  
Q!dNJQpb  
struts.tag.altSyntax "Hw%@  
      Whether to use the alterative syntax for the tags or not Bn_@R`  
      是否可以用替代的语法替代tags _jCjq   
+A,t9 3:k  
struts.ui.templateDir S  H5G  
      The directory containing UI templates gKGM|0u|r  
      UI templates的目录夹 A1,- qv1s  
v J.sa&\H  
struts.ui.theme NP*M#3$[  
      The default UI template theme ^zr]#`@G  
      默认的UI template主题 B?tO&$s  
Z*(lg$A9 M  
struts.url.http.port tkGJ!aUt  
      The HTTP port used by Struts URLs >O&:[CgEF  
      设置http端口 y}bE'Od  
*T'>-nm]  
struts.url.https.port s8<)lO<SV.  
      The HTTPS port used by Struts URLs x=(cQmQ  
      设置https端口 .\> I-  
e.IKmH]z  
struts.url.includeParams =K2mR}n\;  
      The default includeParams method to generate Struts URLs D*R49hja{  
      在url中产生 默认的includeParams tgbr/eCoU  
]h$,=Qf hD  
q"[8u ]j  
struts.velocity.configfile U3yIONlt  
      The Velocity configuration file path /n SmGAO  
      velocity配置文件路径 g np\z/'>  
*0`oFTJ  
struts.velocity.contexts ~y(- j[  
      List of Velocity context names z2QZ;ZjvRS  
      velocity的context列表 Ya)s_Zr7  
^#4?v^QNh  
g.d%z  
struts.velocity.manager.classname EO5k?k[*  
      org.apache.struts2.views.velocity.VelocityManager implementation class {~"6/L  
      org.apache.struts2.views.velocity.VelocityManager接口名 +L8 6 w7  
058+_xX  
struts.velocity.toolboxlocation Gq/f|43}@O  
      The location of the Velocity toolbox @ 0RB.-  
      velocity工具盒的位置 zU9G: jH  
struts.xslt.nocache kG7q4jFwP  
      Whether or not XSLT templates should not be cached Z) zWfv}  
      是否XSLT模版应该被缓存 ~agzp`!M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八