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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _ +Ww1 f  
8v)pPJr  
struts.action.extension "e62g  
      The URL extension to use to determine if the request is meant for a Struts action m=i8o `  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cl4`FU  
?2hoY  
struts.configuration [/ uqH  
      The org.apache.struts2.config.Configuration implementation class I$sJ8\|gw'  
        org.apache.struts2.config.Configuration接口名 F VW&&ft  
bTB/M=M  
struts.configuration.files 2ILMf?}  
      A list of configuration files automatically loaded by Struts v!(B S,  
      struts自动加载的一个配置文件列表 TV)bX  
Lf_`8Ux  
struts.configuration.xml.reload HFYN(nz}[  
      Whether to reload the XML configuration or not xe}d&  
      是否加载xml配置(true,false) Arh0m. w  
hMz= \)Pl  
struts.continuations.package {8D`A;KD  
      The package containing actions that use Rife continuations #JVw`=P  
      含有actions的完整连续的package名称 N{v <z 6  
Zh.5\&bm  
struts.custom.i18n.resources a$!|)+  
      Location of additional localization properties files to load 1~\YJEsb}d  
      加载附加的国际化属性文件(不包含.properties后缀) x zmg'Br  
UZsL0  
struts.custom.properties K!^x+B|  
      Location of additional configuration properties files to load b|| c^f  
      加载附加的配置文件的位置 (xw)pR  
wi/Fx=w  
]kUF>Wp  
struts.devMode n'a=@/  
      Whether Struts is in development mode or not nDx}6}5)  
      是否为struts开发模式 l<I.;FN^9@  
d*80eB9P  
struts.dispatcher.parametersWorkaround b^b@W^\hn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ximW!y7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @{16j# 'R  
\fG?j@Qx  
struts.enable.DynamicMethodInvocation A?[06R5E#  
      Allows one to disable dynamic method invocation from the URL "HI&dC  
        允许动态方法调用 `7<4]#b^o  
jA@jsv  
struts.freemarker.manager.classname ^PDz"L<*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?B> { rj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e= $p(  
Do-~-d4  
struts.i18n.encoding . 7WNd/WG  
      The encoding to use for localization messages ]6)^+(zU  
      国际化信息内码 C-Y~T;53  
3e&H)  
struts.i18n.reload B:5\+_a!  
      Whether the localization messages should automatically be reloaded feg  
      是否国际化信息自动加载 A2 'W  
+>BLox6  
struts.locale 7,0^|P  
      The default locale for the Struts application .}'49=c  
      默认的国际化地区信息 LLE\;,bv  
m$b5Vqq  
struts.mapper.class m~`d<RM/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9z>I&vcX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MDkcG"O  
@'UbTB!  
struts.multipart.maxSize UQZ<sp4v;  
      The maximize size of a multipart request (file upload) -3-*T)  
      multipart请求信息的最大尺寸(文件上传用) s|*0cK!K^  
PuyJ:#a  
struts.multipart.parser d.wu   
      The org.apache.struts2.dispatcher.multipart. Wp7lDx  
      MultiPartRequest parser implementation for a multipart request (file upload) xz!b@5DR'%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) VRe7Q0  
-!_f-Nny  
SrlTwcD  
struts.multipart.saveDir xi5G?r  
      The directory to use for storing uploaded files \<k5c-8Hb  
      设置存储上传文件的目录夹 5q<cZ)v#&  
 UZJ^ e$N  
struts.objectFactory tOUpK20q.@  
      The com.opensymphony.xwork2.ObjectFactory implementation class q [}<LU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) OH.lAF4E(  
e:W]B)0/e  
struts.objectFactory.spring.autoWire "cJ))v-'  
      Whether Spring should autoWire or not 6-"@j@l5<  
      是否自动绑定Spring %x}iEqkU  
n1yIQ8F  
struts.objectFactory.spring.useClassCache HpbSf1VvAf  
      Whether Spring should use its class cache or not <Wd#HKIG>l  
      是否spring应该使用自身的cache B{}<DP.  
NUSb7<s,&Y  
struts.objectTypeDeterminer ,|5|aVfh  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .D X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Os)jfKn2  
j p"hbV  
struts.serve.static.browserCache E;`@S  
If static content served by the Struts filter should set browser caching header properties or not pCacm@(hG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +( Q$GO%  
hQWo ]WF(J  
struts.serve.static <8J_[ S  
      Whether the Struts filter should serve static content or not ;?{[vLHDL  
      是否struts过滤器应该提供静态内容 0H9UM*O  
qdW"g$fW  
struts.tag.altSyntax + *xi&|%  
      Whether to use the alterative syntax for the tags or not -uk}Fou  
      是否可以用替代的语法替代tags `jHbA#sO  
8]@$7hy8  
struts.ui.templateDir M6nQ17\{  
      The directory containing UI templates ?hC,49  
      UI templates的目录夹 &':Ecmo~`  
MpNgp )%>  
struts.ui.theme Mg"e$m  
      The default UI template theme {s7 3(B"  
      默认的UI template主题 W(#u^,$e[  
E|,RM;7  
struts.url.http.port 634OH*6  
      The HTTP port used by Struts URLs C0K0c6A (4  
      设置http端口 SSQB1c  
0 s$;3qE  
struts.url.https.port 7g7[a/Bts  
      The HTTPS port used by Struts URLs 7Gwo:s L  
      设置https端口 %&iodo,EP'  
4 (c{%%  
struts.url.includeParams /R(]hmW  
      The default includeParams method to generate Struts URLs `R!%k]$  
      在url中产生 默认的includeParams xqQLri}  
[4 v1 N  
#3knKBH  
struts.velocity.configfile 1w!O&kn  
      The Velocity configuration file path BjyV&1tRV!  
      velocity配置文件路径 ;5 p;i 8m  
71+ bn  
struts.velocity.contexts }'p"q )  
      List of Velocity context names d-cW47  
      velocity的context列表 9;7|MPbR  
fW w+'xF!  
z&c|2L-u6  
struts.velocity.manager.classname yz<$?Gblz  
      org.apache.struts2.views.velocity.VelocityManager implementation class z -c1,GOD  
      org.apache.struts2.views.velocity.VelocityManager接口名 iLt2L;v>h  
8-"D.b4  
struts.velocity.toolboxlocation o~{rZ~  
      The location of the Velocity toolbox  Al1}Ir   
      velocity工具盒的位置 #LR.1zZ  
struts.xslt.nocache TE9Iyl|=  
      Whether or not XSLT templates should not be cached X#>:9  
      是否XSLT模版应该被缓存  X`20=x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五