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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ].xSX0YQ%  
b]z_2h~`  
struts.action.extension 1Z c=QJw@  
      The URL extension to use to determine if the request is meant for a Struts action 6:|;O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `$JvWN,kB  
?&wrz  
struts.configuration &P9fM-]b s  
      The org.apache.struts2.config.Configuration implementation class kll!tT-N-  
        org.apache.struts2.config.Configuration接口名 r craf4%  
KJQ8Yhq  
struts.configuration.files  Ll; v[Y  
      A list of configuration files automatically loaded by Struts RBf#5VjOG!  
      struts自动加载的一个配置文件列表 FCNYfjB%  
nu+K N,3R"  
struts.configuration.xml.reload /xJD/"Y3&  
      Whether to reload the XML configuration or not w*XM*yJHU  
      是否加载xml配置(true,false) &6OY ^6<  
af | mk@  
struts.continuations.package 6k;5T   
      The package containing actions that use Rife continuations 6vbKKn`ST  
      含有actions的完整连续的package名称 1ygEyC[1  
G(wK(P0j  
struts.custom.i18n.resources X <8|uP4  
      Location of additional localization properties files to load  :'F,l:  
      加载附加的国际化属性文件(不包含.properties后缀) 'qT;Eht5  
+Xw%X3o)  
struts.custom.properties dQ{qA(m  
      Location of additional configuration properties files to load C8|Ls(4Ck  
      加载附加的配置文件的位置 + GQ{{B  
zGU MH7 M  
?:9y !Q=  
struts.devMode Vv+nq_  
      Whether Struts is in development mode or not 7<]&pSt=  
      是否为struts开发模式 %OgK{h  
i kfJ!f  
struts.dispatcher.parametersWorkaround W8^A{l4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &T,,fz$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I1>f2/$z*  
Cydo~/  
struts.enable.DynamicMethodInvocation u|}\Af  
      Allows one to disable dynamic method invocation from the URL 3>VL>;75[  
        允许动态方法调用 GYQ:G=  
A@< !'  
struts.freemarker.manager.classname HcIJ&".~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A)9]^@,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3Ed  
eGQ4aQhi  
struts.i18n.encoding (LTu=1  
      The encoding to use for localization messages 8m' f8.x  
      国际化信息内码 x`7Le&4f  
":+d7xR?o  
struts.i18n.reload </_QldL_  
      Whether the localization messages should automatically be reloaded ,H6P%  
      是否国际化信息自动加载 j%` C  
@Ik5BT  
struts.locale o`Z3}  
      The default locale for the Struts application aMe &4Q  
      默认的国际化地区信息 Vn5%%?]J  
yT OZa-  
struts.mapper.class tZ62T{, a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bgE]Wk0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0o$RvxJ  
0(+<uo~6p1  
struts.multipart.maxSize m33&obSP  
      The maximize size of a multipart request (file upload) Qc*p+N+$  
      multipart请求信息的最大尺寸(文件上传用) W gyRK2#!  
`?=3[  
struts.multipart.parser A nl1+  
      The org.apache.struts2.dispatcher.multipart. ]*a(^*}A%  
      MultiPartRequest parser implementation for a multipart request (file upload) 0O'M^[=d.8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #0r^<Yn  
{'zS8  
7#"NKxb  
struts.multipart.saveDir :|5 m"X\  
      The directory to use for storing uploaded files cu}(\a  
      设置存储上传文件的目录夹 UUWRC1EtI  
>b\|%=(x!*  
struts.objectFactory _Ml?cT/J.O  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;C*2Djb*n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,?m@Ko7Y  
aOg9Dqtg)f  
struts.objectFactory.spring.autoWire a7_Q8iMe  
      Whether Spring should autoWire or not r>8`g Ahx  
      是否自动绑定Spring .a2R2~35  
.&b^6$dC  
struts.objectFactory.spring.useClassCache prS%lg>  
      Whether Spring should use its class cache or not /Hk})o_  
      是否spring应该使用自身的cache Pn4.gabE  
z@IG"D  
struts.objectTypeDeterminer 2*`kkS  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class P51cEhf  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FYik}wH]  
7<70\ 6  
struts.serve.static.browserCache 5,XEN$^  
If static content served by the Struts filter should set browser caching header properties or not *.w6 =}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a+z>pV|  
p\_3g!G'  
struts.serve.static `_LQs9J0J  
      Whether the Struts filter should serve static content or not X n0HJ^"_  
      是否struts过滤器应该提供静态内容 ]E"J^mflGK  
|+8rYIms`  
struts.tag.altSyntax c[M4l  
      Whether to use the alterative syntax for the tags or not JQ}4{k  
      是否可以用替代的语法替代tags vh2/d.MO  
tlO=>  
struts.ui.templateDir ES,JdImZ|  
      The directory containing UI templates k"[AV2UW1  
      UI templates的目录夹 *fi`DiO  
8?L-3/  
struts.ui.theme ,~$sJ2 g7  
      The default UI template theme h-(NWxK+  
      默认的UI template主题 tpzWi W/  
oAN,_1v)  
struts.url.http.port ~-sgk"$  
      The HTTP port used by Struts URLs EK>x\]O%T  
      设置http端口 `>KNa"b%$  
E5S(1Z}]p{  
struts.url.https.port T)22P<M8  
      The HTTPS port used by Struts URLs @+~URIG)  
      设置https端口 'U&]KSzxv  
;LC|1_ '  
struts.url.includeParams ?-&k?I  
      The default includeParams method to generate Struts URLs ?7CdJgJp  
      在url中产生 默认的includeParams Ye|gW=FUR  
0?FJ ~pu  
7C2Xy>d~  
struts.velocity.configfile |;V-;e*  
      The Velocity configuration file path Da! fwth  
      velocity配置文件路径 /C`AA/@  
ByoI+n* U  
struts.velocity.contexts s$f9?(,.Ay  
      List of Velocity context names se3EI1e  
      velocity的context列表 #%GBopv  
kQ\l7xd  
o\tw)_ >  
struts.velocity.manager.classname lgt&kdc%o  
      org.apache.struts2.views.velocity.VelocityManager implementation class !2B~.!&   
      org.apache.struts2.views.velocity.VelocityManager接口名 A ][ ;v  
r!{i2I|  
struts.velocity.toolboxlocation dc emF  
      The location of the Velocity toolbox 7{"F%`7L  
      velocity工具盒的位置 Z{ YuX  
struts.xslt.nocache #l) o<Z  
      Whether or not XSLT templates should not be cached wk'(g_DP  
      是否XSLT模版应该被缓存 3:sc%IDP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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