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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %gx>|  
YWa9|&m1  
struts.action.extension Jb z>j\  
      The URL extension to use to determine if the request is meant for a Struts action $Jj0%?;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T b]'  b  
O/4)aW3B  
struts.configuration [k6,!e[/uG  
      The org.apache.struts2.config.Configuration implementation class %PU {h  
        org.apache.struts2.config.Configuration接口名 qv+}|+aL:  
!yTjO  
struts.configuration.files a<V* )  
      A list of configuration files automatically loaded by Struts V-9z{  
      struts自动加载的一个配置文件列表 qS2]|7q?Tc  
l_*:StyR+  
struts.configuration.xml.reload X`n*M]  
      Whether to reload the XML configuration or not X 7"hTD  
      是否加载xml配置(true,false) |a[ :L  
e?b<-rL   
struts.continuations.package 6I\mhw!pQ  
      The package containing actions that use Rife continuations |=}v^o ZC  
      含有actions的完整连续的package名称 <b;Oap3  
Fqp~1>wi  
struts.custom.i18n.resources \A3yM{G~+  
      Location of additional localization properties files to load k+&1?]   
      加载附加的国际化属性文件(不包含.properties后缀) vR\[IV?  
_b 8XF&O  
struts.custom.properties ;]h:63 S  
      Location of additional configuration properties files to load 'r?OzFtxh  
      加载附加的配置文件的位置 g7W\  &  
I*)eP||  
(vf5qF^  
struts.devMode 1]XIF?_D m  
      Whether Struts is in development mode or not j2|!h%{nI  
      是否为struts开发模式 lf9_!`DGV  
*C?x\.\C  
struts.dispatcher.parametersWorkaround V.274e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Pi|oO-M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  =!Y{Mz  
3/hAxd  
struts.enable.DynamicMethodInvocation /2!"_?<L  
      Allows one to disable dynamic method invocation from the URL U_,K_6vj  
        允许动态方法调用 &U/~*{  
QCWk[Gx  
struts.freemarker.manager.classname cB[.ET$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4) nQBFX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P1l@K2r  
l+V5dZ8W  
struts.i18n.encoding "ae55ft//  
      The encoding to use for localization messages 5{|\h}  
      国际化信息内码 W(tXq  
aw:0R=S,>  
struts.i18n.reload )p;gm`42oY  
      Whether the localization messages should automatically be reloaded -0doL ^A  
      是否国际化信息自动加载 .el_pg  
KPA5 X]  
struts.locale MXhRnVz"W  
      The default locale for the Struts application cBA2;5E  
      默认的国际化地区信息 [%8+Fa~Wa  
]g; K_>@  
struts.mapper.class W}1h~rNy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |KC3^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9?W38EF  
;nJCd1H  
struts.multipart.maxSize )FqE8oN-  
      The maximize size of a multipart request (file upload) -Q8pWtt  
      multipart请求信息的最大尺寸(文件上传用) 4[&6yHJ^  
" ,rA  
struts.multipart.parser l9.wMs*`X  
      The org.apache.struts2.dispatcher.multipart. ),6Z1 K1  
      MultiPartRequest parser implementation for a multipart request (file upload) c$'UfW  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *WgP+"h  
{:enoV"  
6A/|XwfE/v  
struts.multipart.saveDir K~WwV8c9;  
      The directory to use for storing uploaded files Z@8amT;Y  
      设置存储上传文件的目录夹 /qL&)24  
qQ6NxhQo  
struts.objectFactory y6?Q5x9M  
      The com.opensymphony.xwork2.ObjectFactory implementation class |T"{q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \ca4X{x  
S[" &8Fy  
struts.objectFactory.spring.autoWire i9)y|  
      Whether Spring should autoWire or not <s#}`R.#2  
      是否自动绑定Spring ;@ d<*  
q+o(`N'~G  
struts.objectFactory.spring.useClassCache MU&5&)m  
      Whether Spring should use its class cache or not "v3u$-xN1  
      是否spring应该使用自身的cache +o/;bm*U<K  
O'-lBf+<  
struts.objectTypeDeterminer 1|cmmUM-'v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u-k?ef  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CsR~qQ 5  
uYMW5k_,>  
struts.serve.static.browserCache {hRAR8  
If static content served by the Struts filter should set browser caching header properties or not 7F'61}qL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1^Zx-p3J  
<$njU=YE&  
struts.serve.static ^?xXP=/  
      Whether the Struts filter should serve static content or not Z?hBn`.  
      是否struts过滤器应该提供静态内容 }RUC#aW1  
6]gs{zG  
struts.tag.altSyntax D0k7)\puQ  
      Whether to use the alterative syntax for the tags or not D1O7S]j  
      是否可以用替代的语法替代tags Vq'&t<K#  
28BiuxVW  
struts.ui.templateDir ccm <rZ7  
      The directory containing UI templates Ruk6+U  
      UI templates的目录夹 SqTm/ t  
3nK'yC  
struts.ui.theme ); |~4#  
      The default UI template theme [bT@Y:X@`  
      默认的UI template主题 <qRw! 'S^  
`g :<$3}  
struts.url.http.port u%[*;@;9+  
      The HTTP port used by Struts URLs jv|IV  
      设置http端口 kx UGd)S  
rjR  
struts.url.https.port {Ue6DK %  
      The HTTPS port used by Struts URLs "msg./iC  
      设置https端口 kb7\qH!n  
KuI>:i;  
struts.url.includeParams yMSRUQ x  
      The default includeParams method to generate Struts URLs dF.T6b  
      在url中产生 默认的includeParams eNNgxQw>m  
0`ib_&yI  
X}usyO'pW  
struts.velocity.configfile 7_Q86o  
      The Velocity configuration file path xZhD6'Zzz  
      velocity配置文件路径 5^d%+*l;q  
s_*eX N  
struts.velocity.contexts &gEu%s^wR  
      List of Velocity context names Vd1K{rH#  
      velocity的context列表 y?unI~4tC  
7T2W% JT-,  
M K[spV  
struts.velocity.manager.classname q2<J`G(tZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7R2)Klt  
      org.apache.struts2.views.velocity.VelocityManager接口名 &'](T9kg=  
R&alq  
struts.velocity.toolboxlocation 4*9Dh  
      The location of the Velocity toolbox ckP3[@Su {  
      velocity工具盒的位置 ca-n:1  
struts.xslt.nocache u('OHPqq  
      Whether or not XSLT templates should not be cached 0'~b<>G%  
      是否XSLT模版应该被缓存 XWUT b\@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五