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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h5LJij J  
uAW*5 `[  
struts.action.extension @ChN_gd3!  
      The URL extension to use to determine if the request is meant for a Struts action C1ZFA![  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1<XiD 3H;  
a) I=U [  
struts.configuration R=][>\7]}  
      The org.apache.struts2.config.Configuration implementation class nu\  
        org.apache.struts2.config.Configuration接口名 W HlD %u  
Uq9,(tV`6g  
struts.configuration.files 9f@#SB_H  
      A list of configuration files automatically loaded by Struts ?F?\uC2)'  
      struts自动加载的一个配置文件列表 ]%NO"HzF~  
hN>('S-cq  
struts.configuration.xml.reload #Pb7EL#c  
      Whether to reload the XML configuration or not LV}UBao5n  
      是否加载xml配置(true,false) 4f@havFIJ  
}vXA`)Ns  
struts.continuations.package 9pVf2|5hj  
      The package containing actions that use Rife continuations {u(}ED#p  
      含有actions的完整连续的package名称 [oQ`HX1g  
a z:~{ f*-  
struts.custom.i18n.resources cc2d/<:  
      Location of additional localization properties files to load RT.wTJS;  
      加载附加的国际化属性文件(不包含.properties后缀) 8>%jZ%`a  
FT|/ WZR  
struts.custom.properties O4b-A3:  
      Location of additional configuration properties files to load vWnHC  
      加载附加的配置文件的位置 ~aauW?  
H#1*'e>  
+(QMy&DtS  
struts.devMode Xa?6#  
      Whether Struts is in development mode or not hr~qt~Oi  
      是否为struts开发模式 V'HlAQr  
;y?D1o^r8W  
struts.dispatcher.parametersWorkaround aIn)']  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h+zkVRyA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) < tu[cA>  
1OiZNuI:E  
struts.enable.DynamicMethodInvocation /VhE<}OtH  
      Allows one to disable dynamic method invocation from the URL M f%^\g.}  
        允许动态方法调用 dCoi>PO  
gJcXdv=]2  
struts.freemarker.manager.classname ery?G-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,<^tsCI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <WHs  
7tf81*e  
struts.i18n.encoding V(' 'p{  
      The encoding to use for localization messages = h<? /Krs  
      国际化信息内码 +AgkPMy  
e~>p.l  
struts.i18n.reload 2 d>d(^  
      Whether the localization messages should automatically be reloaded _ RT"1"r  
      是否国际化信息自动加载 J1c&"Oh  
764}yV>  
struts.locale ! 6p)t[s  
      The default locale for the Struts application Q#J>vwi=  
      默认的国际化地区信息 iZkW+5(  
H(%] Os  
struts.mapper.class O=#/DM;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x^='pEt{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G0 nH Z6  
ik1L  
struts.multipart.maxSize  +,F= -  
      The maximize size of a multipart request (file upload) \\R*V'e!  
      multipart请求信息的最大尺寸(文件上传用) KWigMh\r  
v_@#hf3  
struts.multipart.parser \HP,LH[P:  
      The org.apache.struts2.dispatcher.multipart. xV n]m9i  
      MultiPartRequest parser implementation for a multipart request (file upload) 0LHiOav  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8O.:3%D~ t  
Lm*LJ_+ B  
'De'(I  
struts.multipart.saveDir &6|^~(P?  
      The directory to use for storing uploaded files -B3w RAEt  
      设置存储上传文件的目录夹 7AtXG^lK  
HDW\S#  
struts.objectFactory k+Ma_H`  
      The com.opensymphony.xwork2.ObjectFactory implementation class vu.S>2Wv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xU\:Vid+A  
YZ%f7BUk  
struts.objectFactory.spring.autoWire MlC-Aad(  
      Whether Spring should autoWire or not >gi{x|/  
      是否自动绑定Spring s<r.+zqW  
c;~Llj P  
struts.objectFactory.spring.useClassCache RY/ Z~]  
      Whether Spring should use its class cache or not IrwF B  
      是否spring应该使用自身的cache 3d)+44G_)  
Mi/'4~0Y  
struts.objectTypeDeterminer fN*4(yw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jf)JPa_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;,B@84'  
{}_Oo%IVGK  
struts.serve.static.browserCache 1d@^,7MF-  
If static content served by the Struts filter should set browser caching header properties or not 8s5ru)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +$mskj0s  
gmAKW4(  
struts.serve.static NW>:Lz ?"  
      Whether the Struts filter should serve static content or not @Kb|  
      是否struts过滤器应该提供静态内容 \=G Xe.}4d  
W4rw;(\  
struts.tag.altSyntax B oj{+rE0  
      Whether to use the alterative syntax for the tags or not VU'l~%ql  
      是否可以用替代的语法替代tags "$"mWF-  
K~ /V  
struts.ui.templateDir c%3 @J+z  
      The directory containing UI templates &$z1Hz+l  
      UI templates的目录夹 5~R{,]52  
Tx?@* Q  
struts.ui.theme ZE(RvPW  
      The default UI template theme i K[8At"Xo  
      默认的UI template主题 zt?w n* _  
0JRB Nh  
struts.url.http.port YIk6:W{  
      The HTTP port used by Struts URLs ? A#z~;X@  
      设置http端口 ]<_!@J6k  
z4fK{S  
struts.url.https.port 7<Js'\Z  
      The HTTPS port used by Struts URLs U)%u`C0  
      设置https端口 d\Z4?@T<5  
yrYaKh  
struts.url.includeParams ,H(vD,54g  
      The default includeParams method to generate Struts URLs +~k,4  
      在url中产生 默认的includeParams i@j ?<  
o%>nu  
4sE=WPKF#  
struts.velocity.configfile cWy0N  
      The Velocity configuration file path N)y;owgo  
      velocity配置文件路径 r$eL-jQmn  
#YVDOR{z  
struts.velocity.contexts *7V{yK$O|  
      List of Velocity context names 3:Egqw  
      velocity的context列表 p;Ok.cXVp  
2}\sj'0&  
J; Xz'0  
struts.velocity.manager.classname cW/~4.v$  
      org.apache.struts2.views.velocity.VelocityManager implementation class CMjPp`rA  
      org.apache.struts2.views.velocity.VelocityManager接口名 AG%es0D[H  
]b=A/*z  
struts.velocity.toolboxlocation Cu<ojN- $  
      The location of the Velocity toolbox .@Sh,^v  
      velocity工具盒的位置 iZ;jn8  
struts.xslt.nocache )tg*dE  
      Whether or not XSLT templates should not be cached k ZEy  
      是否XSLT模版应该被缓存 #^w 1!xXD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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