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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e"1mdw"  
a|TUH+|  
struts.action.extension <j,I@%  
      The URL extension to use to determine if the request is meant for a Struts action HFB>0<$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e'~Qe_  
Uhu?G0>O  
struts.configuration 8K^#$,.."  
      The org.apache.struts2.config.Configuration implementation class C;ab-gh  
        org.apache.struts2.config.Configuration接口名  }<kl3{)  
;0Ua t  
struts.configuration.files N[9o6Nl|a  
      A list of configuration files automatically loaded by Struts Ri"rT] '  
      struts自动加载的一个配置文件列表 j7d^g a-`  
xJ#O|7N  
struts.configuration.xml.reload xTk6q*NvT^  
      Whether to reload the XML configuration or not ]G&[P8hz B  
      是否加载xml配置(true,false) 'h ?  
b+Sj\3fX  
struts.continuations.package ql%K+4@  
      The package containing actions that use Rife continuations C!_=L?QT^  
      含有actions的完整连续的package名称 eG+$~\%Fub  
O-0 5.  
struts.custom.i18n.resources S#CaJ}M  
      Location of additional localization properties files to load ^?|4<Rm  
      加载附加的国际化属性文件(不包含.properties后缀) BgN^].z&  
t(<k4ji,  
struts.custom.properties /?BTET  
      Location of additional configuration properties files to load IUAe6  
      加载附加的配置文件的位置  irh Z  
2K3j3|T  
gWro])3  
struts.devMode m, +E5^  
      Whether Struts is in development mode or not :bo2H[U+  
      是否为struts开发模式 3hkEjR  
r}Vr_  
struts.dispatcher.parametersWorkaround Ww~C[8q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +dCR$<e9r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uJ|,-"~F  
5k=04=Iyh#  
struts.enable.DynamicMethodInvocation ;"f9"  
      Allows one to disable dynamic method invocation from the URL &'neOf/~  
        允许动态方法调用 R,7.o4Wt  
e`B!)Sr  
struts.freemarker.manager.classname x`2dN/wDhf  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;B< rw ^h5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 + S5uxO  
Tq^B>{S "  
struts.i18n.encoding (^T}6t3+4  
      The encoding to use for localization messages A?-t`J  
      国际化信息内码 /:-ig .YY  
; p+C0!B2  
struts.i18n.reload \k$cg~  
      Whether the localization messages should automatically be reloaded )4o k@^.  
      是否国际化信息自动加载 { zL4dJw  
F:Vl\YZ  
struts.locale I(>_as\1  
      The default locale for the Struts application ]c\`EHN  
      默认的国际化地区信息 f&F9ImZ  
g \+!+!"~  
struts.mapper.class 7h. [eMLPB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <}mA>c'k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U_9|ED:  
<%4pvn8d?&  
struts.multipart.maxSize sj+ )   
      The maximize size of a multipart request (file upload) TJcHqzcUc  
      multipart请求信息的最大尺寸(文件上传用) SA"4|#3>7  
PTpfa*t  
struts.multipart.parser )+)qFGVz  
      The org.apache.struts2.dispatcher.multipart. M"-53|#:w\  
      MultiPartRequest parser implementation for a multipart request (file upload) #p{8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1@-l@ P  
?iaO+G&|  
!!6@r|.  
struts.multipart.saveDir `^g-2~  
      The directory to use for storing uploaded files 0p,_?3nX  
      设置存储上传文件的目录夹 O|v8.3[cT  
t}K8{ V  
struts.objectFactory JBV 06T_4o  
      The com.opensymphony.xwork2.ObjectFactory implementation class G]-\$>5R  
      com.opensymphony.xwork2.ObjectFactory接口(spring) # b3 14  
ieOw&  
struts.objectFactory.spring.autoWire fX LsLh+~D  
      Whether Spring should autoWire or not aTaL|&(  
      是否自动绑定Spring }PMlG  
IQ JFL +f  
struts.objectFactory.spring.useClassCache GB*^?Ii  
      Whether Spring should use its class cache or not !bW^G} <t  
      是否spring应该使用自身的cache qP/McH?  
Kk% I N9  
struts.objectTypeDeterminer ?U:c\TA,m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @q|c|X:I  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gsIp y  
Rs'mk6+  
struts.serve.static.browserCache vN6)Szim  
If static content served by the Struts filter should set browser caching header properties or not (^ J2(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;%AY#b4m  
T[ zEAj  
struts.serve.static /Zz [vf  
      Whether the Struts filter should serve static content or not }Zp[f6^Q  
      是否struts过滤器应该提供静态内容 meD83,L~N  
$-]9/Ct  
struts.tag.altSyntax u\K`TWb%  
      Whether to use the alterative syntax for the tags or not t,5AoK/NL9  
      是否可以用替代的语法替代tags `j6O  
efyGjfoO  
struts.ui.templateDir V' sq'XB  
      The directory containing UI templates SphP@J<ONW  
      UI templates的目录夹 w\JTMS$  
&61h*s  
struts.ui.theme =`qEwA  
      The default UI template theme rB =c  
      默认的UI template主题 pW<l9W  
EP{ji"/7[  
struts.url.http.port q ) e* eN  
      The HTTP port used by Struts URLs ) Cm95,Y  
      设置http端口 BE!WCDg,  
=1VpO{ q  
struts.url.https.port Q-e(>=Gv_  
      The HTTPS port used by Struts URLs |pT[ZT|}G  
      设置https端口 Mn*v&O:  
:Q;mgHTNz  
struts.url.includeParams cS",Bw\  
      The default includeParams method to generate Struts URLs 5n=~l[O  
      在url中产生 默认的includeParams wWJM./y  
7$kTeKiP  
+W|VCz  
struts.velocity.configfile qwuA[QkPi  
      The Velocity configuration file path No'Th7=|S  
      velocity配置文件路径 KpKZiUQm  
1?y QjW,  
struts.velocity.contexts {UuSNZ[^  
      List of Velocity context names .V{y9e+  
      velocity的context列表 NE?tfj  
fc^d3wH0L  
hIo ^/_K  
struts.velocity.manager.classname Zu ![v0  
      org.apache.struts2.views.velocity.VelocityManager implementation class g0s *4E  
      org.apache.struts2.views.velocity.VelocityManager接口名 NV18~5#</  
xf3/J{n3  
struts.velocity.toolboxlocation kI^Pu  
      The location of the Velocity toolbox \lpvRZ\L&g  
      velocity工具盒的位置 9!Bz)dJ 3  
struts.xslt.nocache jrO{A3<E  
      Whether or not XSLT templates should not be cached B5qlU4km&  
      是否XSLT模版应该被缓存 Tu=~iQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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