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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !XPjRdq  
u\\t~<8  
struts.action.extension Fh#QS'[  
      The URL extension to use to determine if the request is meant for a Struts action 7l* &Fh9;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 TgiZ % G  
$ XjijD9R  
struts.configuration \n<! ld  
      The org.apache.struts2.config.Configuration implementation class 5m8u:6kQu  
        org.apache.struts2.config.Configuration接口名 b\P:a_vq  
q G%Y& P  
struts.configuration.files )Q2IYCj{  
      A list of configuration files automatically loaded by Struts U5Hi9fe  
      struts自动加载的一个配置文件列表 ]]j^  
OBi(]l}^O  
struts.configuration.xml.reload YR?Y:?(  
      Whether to reload the XML configuration or not z; GQnAG@  
      是否加载xml配置(true,false) g=Z52y`N<  
25>R^2,LiE  
struts.continuations.package * %D_\0;  
      The package containing actions that use Rife continuations %"WENa/t  
      含有actions的完整连续的package名称 ifD WN*k6  
'=dQ$fs  
struts.custom.i18n.resources h;V 4|jM  
      Location of additional localization properties files to load $|K: 9  
      加载附加的国际化属性文件(不包含.properties后缀) ,L ig6Z`  
|ADf~-AY  
struts.custom.properties wJC[[_"3 I  
      Location of additional configuration properties files to load D$l!lRu8+L  
      加载附加的配置文件的位置 sq|\!T  
Kg%9&l  
P:{Aq n~zR  
struts.devMode WvfP9(-  
      Whether Struts is in development mode or not J"aw 1  
      是否为struts开发模式 ZHTi4JY  
1T!o`*  
struts.dispatcher.parametersWorkaround .S//T/3O]Q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s"jvO>[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }0'LKwIR  
|]7c&`  
struts.enable.DynamicMethodInvocation -1Q24jrO-  
      Allows one to disable dynamic method invocation from the URL #,#`< h!  
        允许动态方法调用 SBxpJsW >  
#pvq9fss,}  
struts.freemarker.manager.classname E;Z(v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +|/0sPW(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M%E<]H2;S  
:\^b6"}8  
struts.i18n.encoding D ,kxB~  
      The encoding to use for localization messages #`iEbiSq  
      国际化信息内码 HE&)N clY  
Fm`*j/rq  
struts.i18n.reload {$8+n::  
      Whether the localization messages should automatically be reloaded ~/rD _K  
      是否国际化信息自动加载 Spn[:u@  
>7W)iwF  
struts.locale +>PsQ^^x  
      The default locale for the Struts application x}/jh  
      默认的国际化地区信息 C.?^] Y  
n ]g"H  
struts.mapper.class t3)6R(JC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lOm01&^"E  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H_&to3b(  
jg]KE8(  
struts.multipart.maxSize h*Fv~j'p  
      The maximize size of a multipart request (file upload) ?lC>E[  
      multipart请求信息的最大尺寸(文件上传用) 6kAAdy}ck  
=@U5/J  
struts.multipart.parser OBWb0t5H?  
      The org.apache.struts2.dispatcher.multipart. 'I,a 29  
      MultiPartRequest parser implementation for a multipart request (file upload) +La2-I  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,`f]mv l  
in>+D|q c  
, >7PG2 a  
struts.multipart.saveDir |]G%b[  
      The directory to use for storing uploaded files <|r|s  
      设置存储上传文件的目录夹  }u8(7  
Ta\F~$M  
struts.objectFactory u8c@q'_  
      The com.opensymphony.xwork2.ObjectFactory implementation class }ny7LQ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #B\s'j[A"  
j|KDgI<0  
struts.objectFactory.spring.autoWire -,y p?<  
      Whether Spring should autoWire or not ]Thke 4  
      是否自动绑定Spring q/@2=$]hH3  
<tvLKx  
struts.objectFactory.spring.useClassCache (.UU40:t  
      Whether Spring should use its class cache or not r D@*xMW  
      是否spring应该使用自身的cache a3 }V/MY  
qSP &Fi  
struts.objectTypeDeterminer 0OO[@Ht  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8KJUC&`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :i&]J$^;  
,7d/KJ^7  
struts.serve.static.browserCache S<7!<]F-  
If static content served by the Struts filter should set browser caching header properties or not e]VW\ 6J&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c^I^jg2v  
,# 2~<  
struts.serve.static 3)WfBvG  
      Whether the Struts filter should serve static content or not G2|jS@L#  
      是否struts过滤器应该提供静态内容 ]W;6gmV  
YrnC'o`  
struts.tag.altSyntax DgT]Nty@b  
      Whether to use the alterative syntax for the tags or not '8]p]#l  
      是否可以用替代的语法替代tags a,w|r#x]  
;`oK5  
struts.ui.templateDir ;t0 q ?9  
      The directory containing UI templates NVRzthg%c_  
      UI templates的目录夹 T +vo)9w  
x'g4DYl  
struts.ui.theme :\[l~S  
      The default UI template theme (RFH.iX  
      默认的UI template主题 %*Ex2we&  
4s 7 RB  
struts.url.http.port pg%(6dqK4  
      The HTTP port used by Struts URLs ,ayEZ#4.m  
      设置http端口 !=eNr<:V.  
r#OPW7mhE  
struts.url.https.port Ba[,9l[  
      The HTTPS port used by Struts URLs W yM1s+@  
      设置https端口 Xf4~e(O  
=803rNe  
struts.url.includeParams vCP[7KhGj  
      The default includeParams method to generate Struts URLs X\`']\l  
      在url中产生 默认的includeParams Il [~  
!JXiTI!  
~vz%I^xW  
struts.velocity.configfile 1r=cCM  
      The Velocity configuration file path A,F~*LXm  
      velocity配置文件路径 qFWN._R  
p q`uB  
struts.velocity.contexts ,NQ!d4 ~D  
      List of Velocity context names yx Om=V  
      velocity的context列表 8xENzTR  
^2- <XD)  
~Ykn|$_"I  
struts.velocity.manager.classname m%6VwV7U  
      org.apache.struts2.views.velocity.VelocityManager implementation class A'#d:lOA  
      org.apache.struts2.views.velocity.VelocityManager接口名 -gvfz&Lz  
?# w} S%  
struts.velocity.toolboxlocation v \i"-KH  
      The location of the Velocity toolbox OTF/Pu$  
      velocity工具盒的位置 X.>=&~[  
struts.xslt.nocache X7!q/1$J  
      Whether or not XSLT templates should not be cached HThZ4Kg+  
      是否XSLT模版应该被缓存 di/Q Jrw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八