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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }Ny~.EV5^  
?s0")R&  
struts.action.extension g2lv4Tiq-  
      The URL extension to use to determine if the request is meant for a Struts action )P/~{Ci:T&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a 0FU[*q  
i;)r|L `V?  
struts.configuration +c'I7bBr  
      The org.apache.struts2.config.Configuration implementation class V6<Ki  
        org.apache.struts2.config.Configuration接口名 F fzY3r+   
5OFb9YX  
struts.configuration.files qyzeAK\Ia  
      A list of configuration files automatically loaded by Struts ,g)9ZP.F  
      struts自动加载的一个配置文件列表 $L"-JNS  
RML'C:1  
struts.configuration.xml.reload 3'Z+PPd!  
      Whether to reload the XML configuration or not ^q~.5c|  
      是否加载xml配置(true,false) d #-<=6  
V> eJ  
struts.continuations.package H% c{ }F  
      The package containing actions that use Rife continuations $r)nvf`\  
      含有actions的完整连续的package名称 y /?;s]>b  
]_)=xF19  
struts.custom.i18n.resources 4gm(gY>[  
      Location of additional localization properties files to load #`Et{6W S  
      加载附加的国际化属性文件(不包含.properties后缀) 20uR?/|@  
7W#9ki1  
struts.custom.properties j@s,5:;[  
      Location of additional configuration properties files to load \-s'H:  
      加载附加的配置文件的位置 3412znM&  
"V_PWEi  
p&\x*~6u  
struts.devMode [26([H  
      Whether Struts is in development mode or not YI?y_S  
      是否为struts开发模式 Y6 @A@VJ  
5h(] S[Zf3  
struts.dispatcher.parametersWorkaround w3IU'(|G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gs|%3k|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cXokq  
-1u N Z{0  
struts.enable.DynamicMethodInvocation `Tf<w+H  
      Allows one to disable dynamic method invocation from the URL D&)gcO`\  
        允许动态方法调用 ^coJ"[D  
iNs  
struts.freemarker.manager.classname hAZ"M:f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7" cgj#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 RT2a:3f  
dQFx]p3L  
struts.i18n.encoding $}7WJz:  
      The encoding to use for localization messages KH&xu,I  
      国际化信息内码 2? 7a\s  
D9&FCCiUE  
struts.i18n.reload aI8K*D )@  
      Whether the localization messages should automatically be reloaded `Uw^,r  
      是否国际化信息自动加载 P3YG:*  
bs mnh_YRj  
struts.locale 5k}UXRB?  
      The default locale for the Struts application o'  DXd[y  
      默认的国际化地区信息 W,>;`>  
',* 6vbII  
struts.mapper.class hpym!G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MhB kr{8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p.1|bXY`  
f;%4O'  
struts.multipart.maxSize m[u 6<C  
      The maximize size of a multipart request (file upload) S,v9\wN.  
      multipart请求信息的最大尺寸(文件上传用) NC2PW+(  
`ml;#n,*  
struts.multipart.parser O@_)]z?jUc  
      The org.apache.struts2.dispatcher.multipart. I|$_[Sw  
      MultiPartRequest parser implementation for a multipart request (file upload) [H)p#x  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \9BIRY`  
_hLM\L  
'u.`!w '|L  
struts.multipart.saveDir b_=k"d  
      The directory to use for storing uploaded files S?=2GY  
      设置存储上传文件的目录夹 6q8qq/h)  
{ lLUZM  
struts.objectFactory U=%S6uL\bx  
      The com.opensymphony.xwork2.ObjectFactory implementation class fr\UX}o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @,sg^KB  
? B^*YCo7(  
struts.objectFactory.spring.autoWire 4 ITSDx  
      Whether Spring should autoWire or not 15gI-Qb  
      是否自动绑定Spring Wm.SLr,o0  
rq6(^I  
struts.objectFactory.spring.useClassCache p2 y h  
      Whether Spring should use its class cache or not gzHjD-g-<  
      是否spring应该使用自身的cache s\Cl3  
Ph.$]yQCc]  
struts.objectTypeDeterminer /^0Hi4+\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Md[nlz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?(U> )SvF  
U1rh[A>  
struts.serve.static.browserCache Y6fU;  
If static content served by the Struts filter should set browser caching header properties or not ")(1z@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Fu m1w  
^yu^Du  
struts.serve.static f=J#mmH w$  
      Whether the Struts filter should serve static content or not  c:~o e  
      是否struts过滤器应该提供静态内容 \aT._'=M+  
T.W/S0#j3  
struts.tag.altSyntax +2W#= G  
      Whether to use the alterative syntax for the tags or not ,)Z^b$H]  
      是否可以用替代的语法替代tags 'J<KL#og  
JT<Ia  
struts.ui.templateDir >1mCjP  
      The directory containing UI templates o,Ew7~u  
      UI templates的目录夹 XUUS N  
Khw!+!(H  
struts.ui.theme k2*^W&Z  
      The default UI template theme oChcEx%  
      默认的UI template主题 g >-iBxml  
|vWx[=`o  
struts.url.http.port z6FG^  
      The HTTP port used by Struts URLs Jp5~iC2d  
      设置http端口 D@4hQC\  
A"z')   
struts.url.https.port P RX:*0  
      The HTTPS port used by Struts URLs ]b<k%  
      设置https端口 7,jh44(\=  
UmQ 9_H7  
struts.url.includeParams |TEf? <"c  
      The default includeParams method to generate Struts URLs \kWceu}H,  
      在url中产生 默认的includeParams )Hlr 09t=]  
+\.gdL)  
rMf& HX  
struts.velocity.configfile /1tqTi  
      The Velocity configuration file path jPA?0h  
      velocity配置文件路径 "W:'cIw  
$o1G xz  
struts.velocity.contexts 4"wuqr|o  
      List of Velocity context names 8<?60sj  
      velocity的context列表 "PJ@Q9n__  
{?BxVDD07  
|'=R`@w~0  
struts.velocity.manager.classname K-_e' )22.  
      org.apache.struts2.views.velocity.VelocityManager implementation class ='OPU5(;O  
      org.apache.struts2.views.velocity.VelocityManager接口名 a*S4rq@  
O&\;BF5:R  
struts.velocity.toolboxlocation aCFO ]  
      The location of the Velocity toolbox 0=(5C\w2  
      velocity工具盒的位置 ?exV:OKLb  
struts.xslt.nocache 1"~@UcJ  
      Whether or not XSLT templates should not be cached r#3_F=xL5  
      是否XSLT模版应该被缓存 m]Z& .,bA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五