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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w=H4#a?fc  
h8uDs|O9n  
struts.action.extension u:7=Yy :  
      The URL extension to use to determine if the request is meant for a Struts action _ Oe|ZQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gDJ@s    
*tZ#^YG{(  
struts.configuration .1C|J  
      The org.apache.struts2.config.Configuration implementation class rO`n S<G  
        org.apache.struts2.config.Configuration接口名 |;B 'C#  
tXIre-. 2}  
struts.configuration.files Oz1ou[8k  
      A list of configuration files automatically loaded by Struts b1{XGK'  
      struts自动加载的一个配置文件列表 fMFlY%@t  
hrr;=q$  
struts.configuration.xml.reload E~|`Q6&Y  
      Whether to reload the XML configuration or not i|Y_X  
      是否加载xml配置(true,false) =7Y gES  
4$+9k;m'  
struts.continuations.package n!(g<"  
      The package containing actions that use Rife continuations Q,A`"e#:  
      含有actions的完整连续的package名称 iAlFgOk'  
V6ioQx=K#  
struts.custom.i18n.resources NX*9nwp^  
      Location of additional localization properties files to load Eh)VU_D  
      加载附加的国际化属性文件(不包含.properties后缀) m'%Z53&  
r6-'p0|   
struts.custom.properties Z0e+CEzq  
      Location of additional configuration properties files to load HG%H@uK  
      加载附加的配置文件的位置 /fM6%V=Y  
jdYv*/^  
|k4ZTr]?  
struts.devMode q61 rNOw_  
      Whether Struts is in development mode or not )>LC*_v  
      是否为struts开发模式 r4c3t,L*$I  
#dGg !D  
struts.dispatcher.parametersWorkaround \[+\JWJj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic r}~l(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) dkQA[/k  
:6z0Ep"  
struts.enable.DynamicMethodInvocation BVC{Zq6hi  
      Allows one to disable dynamic method invocation from the URL Fq5);sX=  
        允许动态方法调用 cF[[_  
B|O/h! H.  
struts.freemarker.manager.classname b+M[DwPw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qpl"j-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6zLz<p?  
CW=-@W7  
struts.i18n.encoding EtH)E)  
      The encoding to use for localization messages ?mt$c6-  
      国际化信息内码 Ffm Q$>S  
B!le=V,@,  
struts.i18n.reload MQ>vHapr  
      Whether the localization messages should automatically be reloaded Iq\sf-1E  
      是否国际化信息自动加载 9& W\BQ  
7OOB6[.fu  
struts.locale S@7A)  
      The default locale for the Struts application cQv*lvG9>  
      默认的国际化地区信息 ' U)~|(\i  
fXw%2wg  
struts.mapper.class +WwQ!vWWd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \Rp)n=|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Drlt xI)  
C_#0Y_O  
struts.multipart.maxSize F ,{nG[PL  
      The maximize size of a multipart request (file upload) 3@}HdLmN|  
      multipart请求信息的最大尺寸(文件上传用) ZF;S}1  
vfegIoZ  
struts.multipart.parser 2+GF:[$  
      The org.apache.struts2.dispatcher.multipart. 2uWzcy ?F  
      MultiPartRequest parser implementation for a multipart request (file upload) 5Kv=;o=U  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wrn[q{dX  
h3 p 3~xq  
"eQ96^'J  
struts.multipart.saveDir V_}`2.Pg  
      The directory to use for storing uploaded files oUw-l_M]  
      设置存储上传文件的目录夹 l:HO|Mq  
|<ke>j/6n  
struts.objectFactory W{;!JI7;z  
      The com.opensymphony.xwork2.ObjectFactory implementation class `bT{E.(T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HXdPKS4q  
O|j5ulO}&"  
struts.objectFactory.spring.autoWire VUF7-C*  
      Whether Spring should autoWire or not ^[%~cG  
      是否自动绑定Spring J7QlGm,=  
/,0t,"&Aqa  
struts.objectFactory.spring.useClassCache z4-AOTo2y  
      Whether Spring should use its class cache or not 3<+l.Wly  
      是否spring应该使用自身的cache l}(~q!r  
O:7y-r0i  
struts.objectTypeDeterminer 6g$04C3tHi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~*B1}#;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z7PPwTBa  
lGLZIp  
struts.serve.static.browserCache 2z[Pw0#V  
If static content served by the Struts filter should set browser caching header properties or not 5Ll[vBW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Lp ]d4"L;3  
x2ol   
struts.serve.static RV(}\JU  
      Whether the Struts filter should serve static content or not J*U(f{Q(  
      是否struts过滤器应该提供静态内容  74Q?%X  
:{66WSa@Dd  
struts.tag.altSyntax o3WkbMJWM  
      Whether to use the alterative syntax for the tags or not KUyua~tF  
      是否可以用替代的语法替代tags ~+lC %R  
e-}PJ%!,T  
struts.ui.templateDir N%B#f\N  
      The directory containing UI templates 8:&@MZQ&!  
      UI templates的目录夹 TVFGonVY  
,XA;S5FE  
struts.ui.theme Pm?6]] 7  
      The default UI template theme )%tf,3  
      默认的UI template主题 s*l_O* $'  
2s{yg%U(  
struts.url.http.port R9CAw>s  
      The HTTP port used by Struts URLs Ew:JpMR  
      设置http端口 XbH X,W$h  
`z=MI66Nl  
struts.url.https.port <![T~<.  
      The HTTPS port used by Struts URLs ZY/at/v  
      设置https端口 ;C"J5RA  
p-7dJ  
struts.url.includeParams ;%jt;Xv9  
      The default includeParams method to generate Struts URLs /BIPLDN6  
      在url中产生 默认的includeParams If&p$pAH?  
kcYR:;y  
M}5C;E*  
struts.velocity.configfile THu a?,oyW  
      The Velocity configuration file path u%h<5WNh<  
      velocity配置文件路径 _+;x 4K;  
z{n=G  
struts.velocity.contexts S&=B&23T  
      List of Velocity context names !X.N$0  
      velocity的context列表 GS{9MGl  
Ti)n(G9$  
R*[ACpxr  
struts.velocity.manager.classname Zka;}UL&Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class Zwt!nh   
      org.apache.struts2.views.velocity.VelocityManager接口名 Z9sg6M@s  
8@qahEgQ  
struts.velocity.toolboxlocation MoX* e  
      The location of the Velocity toolbox 3Q]MT  
      velocity工具盒的位置 Rp<Xu6r  
struts.xslt.nocache rb_G0/R  
      Whether or not XSLT templates should not be cached ZE\t{s0  
      是否XSLT模版应该被缓存 _N]yI0k(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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