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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 GA;h7  
?NR&3 q  
struts.action.extension $4q$!jB5  
      The URL extension to use to determine if the request is meant for a Struts action @MO/LvD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V.Tn1i-v  
lBGYZ--  
struts.configuration )6(|A$~C+  
      The org.apache.struts2.config.Configuration implementation class 3,-[lG@o  
        org.apache.struts2.config.Configuration接口名 >:HmIW0PLe  
[Qcht,\^v  
struts.configuration.files Z@} qL1  
      A list of configuration files automatically loaded by Struts bvS6xU- J  
      struts自动加载的一个配置文件列表 6ZfL-E{  
Kr;;aT0P  
struts.configuration.xml.reload  hLj7i?  
      Whether to reload the XML configuration or not +QNsI2t;r  
      是否加载xml配置(true,false) V!/9GeIF  
*/2nh%>$  
struts.continuations.package ~G 3txd  
      The package containing actions that use Rife continuations 9BAvE\o0  
      含有actions的完整连续的package名称 8N \<o7t%  
i` Q&5KL  
struts.custom.i18n.resources ;8a9S0eS  
      Location of additional localization properties files to load T^vhhfCUr  
      加载附加的国际化属性文件(不包含.properties后缀) ;GIA`=a %  
w[C*w\A\M  
struts.custom.properties E+lr{~  
      Location of additional configuration properties files to load Jv}&8D  
      加载附加的配置文件的位置 51Vqbtj^  
"6 ~5RCZ  
<w`EU[y_  
struts.devMode ;cB3D3fR.  
      Whether Struts is in development mode or not .><-XJ  
      是否为struts开发模式 -Aojk8tc  
Y&H<8ez  
struts.dispatcher.parametersWorkaround +lb&_eD  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kc(m.k!|f\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hfw+n<  
QiK-|hFj  
struts.enable.DynamicMethodInvocation F?[1 m2  
      Allows one to disable dynamic method invocation from the URL )FNn  
        允许动态方法调用 }x+6<Rp'E_  
IqiU  
struts.freemarker.manager.classname c0Pj})-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qsQ{`E0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bi^P k,'  
Vl;zd=  
struts.i18n.encoding 5z =}o/?  
      The encoding to use for localization messages I]hjv  
      国际化信息内码 U p6OCF  
NfnPXsad  
struts.i18n.reload @T:J<,  
      Whether the localization messages should automatically be reloaded i&?\Pp;5-j  
      是否国际化信息自动加载 `!$6F:d_l  
<p}7T]a7  
struts.locale QO^V@"N  
      The default locale for the Struts application lX.-qCV"B  
      默认的国际化地区信息 ,J,Rup">h  
No)0|C8:  
struts.mapper.class at4JLbk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eL~3CAV{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )[oP `Z  
RMiDV^.u`  
struts.multipart.maxSize UI"UBZZ$  
      The maximize size of a multipart request (file upload) 2gh=0%|\gx  
      multipart请求信息的最大尺寸(文件上传用) |L`U2.hb  
<bb!BS&w  
struts.multipart.parser L_aqr?Q  
      The org.apache.struts2.dispatcher.multipart. 4hc[ rN,]  
      MultiPartRequest parser implementation for a multipart request (file upload) Np%Q-T\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K_~kL0=4  
j1A%LS;c_  
dNhb vzl(  
struts.multipart.saveDir CAC%lp  
      The directory to use for storing uploaded files 1DcX$b  
      设置存储上传文件的目录夹 g?Tev^D  
/_})7I52  
struts.objectFactory 0KTO )K  
      The com.opensymphony.xwork2.ObjectFactory implementation class @_?2iN?4Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ar#73f  
<b .p/uA  
struts.objectFactory.spring.autoWire QkC*om'/!  
      Whether Spring should autoWire or not v0VQ4>  
      是否自动绑定Spring Ar[|M 2|  
tH4 q*\U  
struts.objectFactory.spring.useClassCache _ xTpW  
      Whether Spring should use its class cache or not ^ghYi|kQq  
      是否spring应该使用自身的cache }dpTR9j=  
!y B4;f$  
struts.objectTypeDeterminer K4jHha  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &a=78Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R?{xs  
kmX9)TMVO  
struts.serve.static.browserCache 2]I l:>n,  
If static content served by the Struts filter should set browser caching header properties or not tcT =a@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '(rD8 pc  
r{^43g?  
struts.serve.static CgmAxcK  
      Whether the Struts filter should serve static content or not a6j& po  
      是否struts过滤器应该提供静态内容 b>VV/j4!/  
]J'TebP=L5  
struts.tag.altSyntax =Y81h-  
      Whether to use the alterative syntax for the tags or not 4>i\r  
      是否可以用替代的语法替代tags =\|,hg)c  
?&;_>0P  
struts.ui.templateDir =PciLh  
      The directory containing UI templates C\;l)h_{  
      UI templates的目录夹 "+T`{$Z=C  
icIn>i<m  
struts.ui.theme Zp3-Yo w2  
      The default UI template theme >h)kbsSU0z  
      默认的UI template主题 bXvO+I<  
`-.2Z 0  
struts.url.http.port pB\:.?.pd  
      The HTTP port used by Struts URLs r dSL  
      设置http端口 8-NycG&)  
cz1+ XpU  
struts.url.https.port X!K>.r_Dg  
      The HTTPS port used by Struts URLs `(h^z>%  
      设置https端口 nAWb9Yk  
n0T|U  
struts.url.includeParams S4`X^a}pY  
      The default includeParams method to generate Struts URLs @B (oq1i@  
      在url中产生 默认的includeParams 8T9 s:/%  
.Y{x!Q"  
v:/\; 2  
struts.velocity.configfile NI#]#yM+  
      The Velocity configuration file path Lv]%P.=[G  
      velocity配置文件路径 "A"YgD#t  
Qy0w'L/@  
struts.velocity.contexts bf0,3~G,P  
      List of Velocity context names o+&Om~W  
      velocity的context列表 T>'O[=UWh  
,wes*  
#55:qc>m  
struts.velocity.manager.classname <O 0Q]`i  
      org.apache.struts2.views.velocity.VelocityManager implementation class &TBFt;  
      org.apache.struts2.views.velocity.VelocityManager接口名 xws{"m,NX~  
/nQuM05*Z  
struts.velocity.toolboxlocation c>K]$;}  
      The location of the Velocity toolbox E&zf<Y  
      velocity工具盒的位置 #jW-&a  
struts.xslt.nocache cJaA*sg  
      Whether or not XSLT templates should not be cached Lm~<BBp.  
      是否XSLT模版应该被缓存 U%s@np  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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