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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K`%{(^}.  
sX_6qKUH  
struts.action.extension cvSr><(  
      The URL extension to use to determine if the request is meant for a Struts action O$SQzLZx&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q8 jI y@  
Ig b@aGA  
struts.configuration 2x3%*r$  
      The org.apache.struts2.config.Configuration implementation class (.D|%P  
        org.apache.struts2.config.Configuration接口名 BuwJR Ql.  
3hUU$|^4gm  
struts.configuration.files ]H[%PQ r`Z  
      A list of configuration files automatically loaded by Struts :x*#RnRr.  
      struts自动加载的一个配置文件列表 U42B( ow  
? }t[  
struts.configuration.xml.reload {Ee[rAVGp  
      Whether to reload the XML configuration or not lJ y\Ky(*  
      是否加载xml配置(true,false) A\xvzs.d  
M{)7C,'  
struts.continuations.package AE?G+:B  
      The package containing actions that use Rife continuations 2$S^3$k'  
      含有actions的完整连续的package名称 7l+>WB_]  
%N.qu_,IZ  
struts.custom.i18n.resources +2&+Gh.h  
      Location of additional localization properties files to load +,wCV2>\3  
      加载附加的国际化属性文件(不包含.properties后缀) [*i6?5}-  
znVao %b  
struts.custom.properties Fkq;Q  
      Location of additional configuration properties files to load 0{0A,;b  
      加载附加的配置文件的位置 <Wz+f+HC  
)2lzPK t  
?|}%A9   
struts.devMode ik:fq&=  
      Whether Struts is in development mode or not )TH~Tq:  
      是否为struts开发模式 h 7x_VO  
)wFr%wNe  
struts.dispatcher.parametersWorkaround "V7 SB   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s01W_P.@R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T~Z7kc'  
P%%[_6<%M  
struts.enable.DynamicMethodInvocation 8AX+s\N  
      Allows one to disable dynamic method invocation from the URL Rq,ST:  
        允许动态方法调用 RCCI}ovU  
ccCe@1RI  
struts.freemarker.manager.classname 1ig#|v*+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yKy07<Gr>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uW@o,S0:  
w26x)(7  
struts.i18n.encoding v8PH(d2{@  
      The encoding to use for localization messages XwerQwO=  
      国际化信息内码 )U$]J*LI  
Vy+UOV&v-  
struts.i18n.reload zLeId83>  
      Whether the localization messages should automatically be reloaded (K"8kQLY  
      是否国际化信息自动加载 =5 zx]N1r  
6X1_NbC  
struts.locale d|~A>YZ  
      The default locale for the Struts application k~P{Rm;F  
      默认的国际化地区信息 ~C;1}P%9x  
%b)~K|NEFf  
struts.mapper.class W5#5RK"uX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ga#Yd}G^~3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O7KR~d  
c"<bq}L7S  
struts.multipart.maxSize N=?! ~n9Q-  
      The maximize size of a multipart request (file upload) fBZ\,  
      multipart请求信息的最大尺寸(文件上传用) 3aK/5)4|B  
>WKlR` J%  
struts.multipart.parser (l~3~n  
      The org.apache.struts2.dispatcher.multipart. ;:0gN|+  
      MultiPartRequest parser implementation for a multipart request (file upload) slV7,4S&!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y%9Q]7&=  
qrq9NPf  
\K,piCVViN  
struts.multipart.saveDir ZJ|@^^GcL  
      The directory to use for storing uploaded files tOu:j [  
      设置存储上传文件的目录夹 x>E**a?!L  
X*cf|g  
struts.objectFactory @C}Hx;f6  
      The com.opensymphony.xwork2.ObjectFactory implementation class rwRb _eIj  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5[1#d\QR  
K% Gbl#  
struts.objectFactory.spring.autoWire y 8./)W&/  
      Whether Spring should autoWire or not I,0]> kx  
      是否自动绑定Spring &R'%OFi  
TLkJZ4}?Q  
struts.objectFactory.spring.useClassCache %s#`i$|z*n  
      Whether Spring should use its class cache or not >Za66<:  
      是否spring应该使用自身的cache qL\*rYe<  
GA8cA)]zOD  
struts.objectTypeDeterminer Ul EP;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k*;2QED  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [H3~b=  
Q I.*6-(  
struts.serve.static.browserCache ,;_D~7L  
If static content served by the Struts filter should set browser caching header properties or not N,><,7!q$,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0 CJ4]mYl  
ji &*0GJQ  
struts.serve.static )kE(%q:*P$  
      Whether the Struts filter should serve static content or not #=MQE  
      是否struts过滤器应该提供静态内容 h0N*hx   
d\cwUXf J  
struts.tag.altSyntax ,0~/ Cn  
      Whether to use the alterative syntax for the tags or not M~G1ZB  
      是否可以用替代的语法替代tags SwDUg}M~  
{mlJE>~%  
struts.ui.templateDir i>M*ubWE4@  
      The directory containing UI templates :EUV#5V.  
      UI templates的目录夹 .%@=,+nqz  
oc2aE:>X  
struts.ui.theme x%;Q /7&$  
      The default UI template theme jaoGm$o>"F  
      默认的UI template主题 mndUQN_Gb  
[|sKu#yW  
struts.url.http.port b=#3p  
      The HTTP port used by Struts URLs ;5*)kX  
      设置http端口 !6wbg  
G0^O7w^5  
struts.url.https.port {,5=U@J  
      The HTTPS port used by Struts URLs lB\ "*K;  
      设置https端口 (VPT% l6  
9iQcK&D 2  
struts.url.includeParams JuGQS24  
      The default includeParams method to generate Struts URLs Cf_Ik  
      在url中产生 默认的includeParams 35Jno<TP'  
o(W|BD!  
y\ nR0m  
struts.velocity.configfile NLJD}{8Ot  
      The Velocity configuration file path y>S.B/ d  
      velocity配置文件路径 7p?6j)rj  
Bc4{$sc"O  
struts.velocity.contexts `p&ko$i2  
      List of Velocity context names }*n(RnCn  
      velocity的context列表 [@}{sH(#Ta  
mI=^7 'Mk  
;8~`fK  
struts.velocity.manager.classname Rk PY@>  
      org.apache.struts2.views.velocity.VelocityManager implementation class blZiz2F  
      org.apache.struts2.views.velocity.VelocityManager接口名 F<?e79},`  
iSxxy1R  
struts.velocity.toolboxlocation 5eC5oX>  
      The location of the Velocity toolbox `07u}]d8  
      velocity工具盒的位置 ,q#^ _/?  
struts.xslt.nocache oHmU|  
      Whether or not XSLT templates should not be cached ^zGgvFf>  
      是否XSLT模版应该被缓存 &7 }!U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五