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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #4MBoN(3  
}VS3L_ ;}/  
struts.action.extension O<PO^pi  
      The URL extension to use to determine if the request is meant for a Struts action 6vuq1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [Aj Q#;#Q  
j Uv!9Y}F  
struts.configuration 4(e59ZgY  
      The org.apache.struts2.config.Configuration implementation class ;__9TN  
        org.apache.struts2.config.Configuration接口名 ~vmd XR`'T  
7Dzuii?1  
struts.configuration.files !-2R;yo12  
      A list of configuration files automatically loaded by Struts 'j^xbikr  
      struts自动加载的一个配置文件列表 ]V %.I_  
D0k 8^  
struts.configuration.xml.reload \P} p5k[  
      Whether to reload the XML configuration or not H1<>NWm!v7  
      是否加载xml配置(true,false) 3~,d+P  
h~&gIub  
struts.continuations.package UDhG :  
      The package containing actions that use Rife continuations =9oP owq  
      含有actions的完整连续的package名称 I}e 3zf>  
i|w8.}0  
struts.custom.i18n.resources !CX t*/~  
      Location of additional localization properties files to load ] 2 #  
      加载附加的国际化属性文件(不包含.properties后缀) bfB\h*XO  
'1,,)U#6E  
struts.custom.properties F(4?tX T  
      Location of additional configuration properties files to load t*@2OW`!  
      加载附加的配置文件的位置 rg0m a  
V/ cP4{L  
bCref$|  
struts.devMode 3iw{SEY  
      Whether Struts is in development mode or not Nx{$}  
      是否为struts开发模式 >AoK/(yL.  
L;gO;vO  
struts.dispatcher.parametersWorkaround Cm$.<CV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gu#-O?B  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o,U9}_|A  
]k9)G*  
struts.enable.DynamicMethodInvocation mNmLyU=d  
      Allows one to disable dynamic method invocation from the URL {x'GJtpb  
        允许动态方法调用 V .os  
-.g|l\  
struts.freemarker.manager.classname NCxqh<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RoCfJ65  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0|R# Tb;Y  
;a-$D]Db  
struts.i18n.encoding +/#Ei'do  
      The encoding to use for localization messages uOa26kE4  
      国际化信息内码 C6O8RHg  
??n*2s@t  
struts.i18n.reload /Q,{?';~  
      Whether the localization messages should automatically be reloaded W@y J AQ  
      是否国际化信息自动加载 c/B'jPt  
66^ycZCH  
struts.locale b-3*Nl_%  
      The default locale for the Struts application TKk-;Y=N  
      默认的国际化地区信息 qwIa?!8 o  
4iW'kuK  
struts.mapper.class wApMzZ(X2y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *Zm^ ~Vo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )tCX y4  
-n'F v@U  
struts.multipart.maxSize nW;g28  
      The maximize size of a multipart request (file upload) aM7uBx\8 5  
      multipart请求信息的最大尺寸(文件上传用) >A0k 8T  
"NgoaG~!YO  
struts.multipart.parser sXd8rj:o  
      The org.apache.struts2.dispatcher.multipart. rr#K"SP  
      MultiPartRequest parser implementation for a multipart request (file upload) Vd=yr'?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =6aS&B(SN  
spasB=E  
)DYI .  
struts.multipart.saveDir "t^URp3  
      The directory to use for storing uploaded files %0? M?Jf  
      设置存储上传文件的目录夹 e</$ s  
^(* n]  
struts.objectFactory oI^4pwnh  
      The com.opensymphony.xwork2.ObjectFactory implementation class #Rg|BfV-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) PjN =k;  
nFe%vu8a  
struts.objectFactory.spring.autoWire %,hV[[@.  
      Whether Spring should autoWire or not aR,}W\6M  
      是否自动绑定Spring TYI7<-Mp:[  
}K8/-d6  
struts.objectFactory.spring.useClassCache wvrrMGU)a  
      Whether Spring should use its class cache or not # O4gg  
      是否spring应该使用自身的cache  JHf  
1SrJ6W @j[  
struts.objectTypeDeterminer 4%1D}9hO6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rQ=,y>-*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l4TpH|k  
'ejvH;V3i  
struts.serve.static.browserCache 3Vp# a:  
If static content served by the Struts filter should set browser caching header properties or not 0flg=U9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ['%69dPh  
xoOJauSX1  
struts.serve.static U%h);!<  
      Whether the Struts filter should serve static content or not xQw7 :18wQ  
      是否struts过滤器应该提供静态内容 V7TVt,-3  
WD'#5]#Y  
struts.tag.altSyntax N{-]F|XX  
      Whether to use the alterative syntax for the tags or not 8ssJ<LP  
      是否可以用替代的语法替代tags c\% r38  
tK k#LWB  
struts.ui.templateDir ?BhMjsy.  
      The directory containing UI templates 5=e@d:Sz  
      UI templates的目录夹 W cC?8X2  
ZNYH#mJX*  
struts.ui.theme p$ bnK]  
      The default UI template theme [frq  'c  
      默认的UI template主题 B75k^ohfj  
mrV!teP  
struts.url.http.port N?X^O#[  
      The HTTP port used by Struts URLs "bDs2E+W  
      设置http端口 d&#~ h:~  
kh%{C] ".1  
struts.url.https.port jYiv'6z  
      The HTTPS port used by Struts URLs 9o>8o  
      设置https端口 Z'H5,)j0R  
?8W( "W   
struts.url.includeParams g#]wLm#  
      The default includeParams method to generate Struts URLs .(Qx{r$  
      在url中产生 默认的includeParams ,RN:^5 p  
p">EHWc}D  
w1UA?+43  
struts.velocity.configfile j[Uxa   
      The Velocity configuration file path 9}z0J  
      velocity配置文件路径 QM?#{%31  
&sF^Fgg{  
struts.velocity.contexts r!,}Z=cGe  
      List of Velocity context names fvb=#58N_  
      velocity的context列表 udeoW-_  
i|1^+;  
xG;-bJu  
struts.velocity.manager.classname D/h/Y) Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class Jjl`_X$CB  
      org.apache.struts2.views.velocity.VelocityManager接口名 )Fb>8<%  
4[r/}/iGo  
struts.velocity.toolboxlocation ~{}#)gGU  
      The location of the Velocity toolbox Y<0 4RV  
      velocity工具盒的位置 #2iD'>bQ  
struts.xslt.nocache wp7!>% s{  
      Whether or not XSLT templates should not be cached |a{Q0:  
      是否XSLT模版应该被缓存 }-~T<egF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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