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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y'Z+, CNf  
OK`Z@X_,bW  
struts.action.extension sg'NBAo"  
      The URL extension to use to determine if the request is meant for a Struts action 6U,fz#<,}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d `j?7Z  
{5Eyr$  
struts.configuration !U BVPR*  
      The org.apache.struts2.config.Configuration implementation class 5]7&IDA]]9  
        org.apache.struts2.config.Configuration接口名 1]\TI7/ n  
b0a}ME&1  
struts.configuration.files L8V3BH7B  
      A list of configuration files automatically loaded by Struts C%ytkzG_  
      struts自动加载的一个配置文件列表 5@XV6  
S;A)C`X&  
struts.configuration.xml.reload mjEs5XCC"  
      Whether to reload the XML configuration or not PMKb ]y  
      是否加载xml配置(true,false) o6?l/nJ  
2[dIOb4b  
struts.continuations.package +=8X8<Pu  
      The package containing actions that use Rife continuations FBsn;,3<W  
      含有actions的完整连续的package名称 /qxJgoa  
,.g}W~S)  
struts.custom.i18n.resources G^Xd-7 GQ  
      Location of additional localization properties files to load P Tnac  
      加载附加的国际化属性文件(不包含.properties后缀) +zRh fIJHH  
%{STz  
struts.custom.properties C=VIT*=  
      Location of additional configuration properties files to load 00M`%c/  
      加载附加的配置文件的位置 p\U*;'hv  
DMkhbo&+  
?En7_X{C?  
struts.devMode F@hYA  
      Whether Struts is in development mode or not z/1hqxHl  
      是否为struts开发模式 DzPs!(5[I  
JCQ:+eqt  
struts.dispatcher.parametersWorkaround " >6&+^BN'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lEfBe)7+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PZ34*q  
6.Bh3p  
struts.enable.DynamicMethodInvocation @8"18HEp#  
      Allows one to disable dynamic method invocation from the URL Bp0bY9xLg_  
        允许动态方法调用 <lOaor c  
(^H5EeGV{  
struts.freemarker.manager.classname m1e b8yX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9bn2UiJ k  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m4gU*?  
{Bvm'lq`  
struts.i18n.encoding n(jjvLf  
      The encoding to use for localization messages TmiWjQv`  
      国际化信息内码 8X~h?^Vz  
/ Dw@d,&[  
struts.i18n.reload `{G?>z Fp  
      Whether the localization messages should automatically be reloaded 9bEM#Hj  
      是否国际化信息自动加载 VD#!ztcY'  
+t>XxYScx  
struts.locale T _~KxQ  
      The default locale for the Struts application M5Wl3tZL  
      默认的国际化地区信息  5T/J%  
y[:q"BB3  
struts.mapper.class UE)fUTS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 99KVtgPm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [EGx  
!BRcq~-.  
struts.multipart.maxSize @*_ZoO7{  
      The maximize size of a multipart request (file upload) & zgPN8u  
      multipart请求信息的最大尺寸(文件上传用) ?f@ 9nph  
.&chdVcxyS  
struts.multipart.parser rB evVc![  
      The org.apache.struts2.dispatcher.multipart. QV/";A3k  
      MultiPartRequest parser implementation for a multipart request (file upload) d +xA:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P Ey/k.  
C*O ,rm}  
bpMl =_  
struts.multipart.saveDir n{{ P 3f  
      The directory to use for storing uploaded files }Z-I2 =]  
      设置存储上传文件的目录夹 C|$L6n>DR6  
/:Y9sz uW`  
struts.objectFactory tE:X,Lt[  
      The com.opensymphony.xwork2.ObjectFactory implementation class vpafru4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \ 522,n`  
O!] ;_q/  
struts.objectFactory.spring.autoWire ss; 5C:*y  
      Whether Spring should autoWire or not S*rO0s:  
      是否自动绑定Spring `r]TA]D R  
)]A9~H  
struts.objectFactory.spring.useClassCache y.fs,!|%@  
      Whether Spring should use its class cache or not &9@gm--b:  
      是否spring应该使用自身的cache _vIO !*h0  
fkBLrw  
struts.objectTypeDeterminer {~nvs4X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &GU@8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /p}{#DLB  
L"^.0*X/d  
struts.serve.static.browserCache ~T&% VvI  
If static content served by the Struts filter should set browser caching header properties or not ~B*~'I9b*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *N'hA5.z  
.ujj:>  
struts.serve.static 'g]=.K+@}  
      Whether the Struts filter should serve static content or not mo*'"/  
      是否struts过滤器应该提供静态内容 `+^sW#ki  
4 iKR{P6  
struts.tag.altSyntax I <xy?{s  
      Whether to use the alterative syntax for the tags or not qM*S*,s  
      是否可以用替代的语法替代tags CfY7<o1>  
O8$~*NFJf  
struts.ui.templateDir U,38qKE  
      The directory containing UI templates a6qwL4  
      UI templates的目录夹 .}~$1QKS  
vQy$[D*  
struts.ui.theme 08O7F  
      The default UI template theme u/#&0_ P  
      默认的UI template主题 Uf^RLdoDn  
Lb^(E-  
struts.url.http.port jjX%$Hr  
      The HTTP port used by Struts URLs >"bnpYSe  
      设置http端口 -+' #*V  
a! ?.F_T9A  
struts.url.https.port K@*rVor{  
      The HTTPS port used by Struts URLs yFi6jN#~  
      设置https端口 n_u`B|^Pj  
t5n2eOy~T  
struts.url.includeParams Kny%QBoiw  
      The default includeParams method to generate Struts URLs 2pjW,I!`  
      在url中产生 默认的includeParams .`mtA`N  
h*G#<M  
Gj5>Y!9  
struts.velocity.configfile >j) w\i  
      The Velocity configuration file path ;fj9 n-  
      velocity配置文件路径 rWqkdi1  
%P(;8sS  
struts.velocity.contexts Kc-Y  
      List of Velocity context names #TIX_RXh  
      velocity的context列表 2k+= kt  
fMyE&#}z  
.E#<fz  
struts.velocity.manager.classname ;hkro$  
      org.apache.struts2.views.velocity.VelocityManager implementation class }}s8D>;G~  
      org.apache.struts2.views.velocity.VelocityManager接口名 N:OD0m%`)  
0Ux<16#  
struts.velocity.toolboxlocation 4uX,uEa  
      The location of the Velocity toolbox {vLTeIxf.G  
      velocity工具盒的位置 rv`2*B  
struts.xslt.nocache z^gi[ mi  
      Whether or not XSLT templates should not be cached |GuKU!  
      是否XSLT模版应该被缓存 ,7t3>9 -M"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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