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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0f;L!.eP  
IP&En8W+  
struts.action.extension >OZ+k(saL  
      The URL extension to use to determine if the request is meant for a Struts action &Vvy`JE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 i "62+  
4h:Oo  
struts.configuration G/2@ Mn-  
      The org.apache.struts2.config.Configuration implementation class L>xcgV7  
        org.apache.struts2.config.Configuration接口名 [UR+G8X21m  
^ylJ_lN&=1  
struts.configuration.files !ny; YV  
      A list of configuration files automatically loaded by Struts :v1'(A1t  
      struts自动加载的一个配置文件列表 +=$]fjE?  
V:QfI  
struts.configuration.xml.reload 7ABHgw~?8r  
      Whether to reload the XML configuration or not V\ !FD5%  
      是否加载xml配置(true,false) p^5B_r:  
g^}X3NUn  
struts.continuations.package *z` {$hc  
      The package containing actions that use Rife continuations .Z'CqBr[:  
      含有actions的完整连续的package名称 <u u1e@P  
-NiFO  
struts.custom.i18n.resources QbxjfW"/+  
      Location of additional localization properties files to load (@uQ>dR:  
      加载附加的国际化属性文件(不包含.properties后缀) P]]9Sqo7  
Qn[4&nUD  
struts.custom.properties qECc[)B  
      Location of additional configuration properties files to load onG,N1`+  
      加载附加的配置文件的位置 u?Iop/b  
+g7Iu! cA  
;T-i+_  
struts.devMode o@EV>4e y  
      Whether Struts is in development mode or not "EWU:9\0  
      是否为struts开发模式 vb{&T<  
TLPy/,  
struts.dispatcher.parametersWorkaround J j yQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0pBlmPafY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j=PQoEtU'<  
hk}M'  
struts.enable.DynamicMethodInvocation K ,f1c}  
      Allows one to disable dynamic method invocation from the URL rAn''X6H  
        允许动态方法调用 r_FW)Fu^  
l \xIGs  
struts.freemarker.manager.classname 1nBE8 N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class fG0rUi(8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &zb_8y,  
+_ K7x5g  
struts.i18n.encoding wf6ZzG:  
      The encoding to use for localization messages @>(l}5U5  
      国际化信息内码 xqmJPbA  
EG7ki0  
struts.i18n.reload y 9/27yWB  
      Whether the localization messages should automatically be reloaded k-b_ <Tbo|  
      是否国际化信息自动加载 q<,?:g$k  
Fr/8q:m &  
struts.locale `@")R-  
      The default locale for the Struts application s-*8=  
      默认的国际化地区信息 =QRLKo#_  
H]}Iw5Z  
struts.mapper.class ;vQ7[Pv.j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ) ;-AT^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5p U(A6RtS  
O0WzDD  
struts.multipart.maxSize wvx N6  
      The maximize size of a multipart request (file upload) &>i+2c~  
      multipart请求信息的最大尺寸(文件上传用) 3/}=x<ui  
GB^Ch YOb  
struts.multipart.parser 8 E.u3eS  
      The org.apache.struts2.dispatcher.multipart. 7I(Sa?D:  
      MultiPartRequest parser implementation for a multipart request (file upload) m#grtmyMrI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bveNd0hN  
i\},  
H.O7Y  
struts.multipart.saveDir \hv*`ukF  
      The directory to use for storing uploaded files #u|;YC  
      设置存储上传文件的目录夹 i. `S0  
N@?Fpmu/k  
struts.objectFactory n#,AZ&  
      The com.opensymphony.xwork2.ObjectFactory implementation class Zhz.8W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7!<cU  
y9Yh%M(  
struts.objectFactory.spring.autoWire vRRi"bo  
      Whether Spring should autoWire or not 8'Z9Z*^h#x  
      是否自动绑定Spring x8b w#  
/bfsC& 3  
struts.objectFactory.spring.useClassCache KB *[b  
      Whether Spring should use its class cache or not #E{OOcM  
      是否spring应该使用自身的cache ldI;DoE#U1  
@~QW~{y  
struts.objectTypeDeterminer uH65DI<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gPQ2i])"Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rguC#Xt!4  
#x':qBv#  
struts.serve.static.browserCache oKA8)~Xqou  
If static content served by the Struts filter should set browser caching header properties or not WH/r$.&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]/bf#&@g`k  
5c3 )p^ ]g  
struts.serve.static C1r]kF  
      Whether the Struts filter should serve static content or not v(h   
      是否struts过滤器应该提供静态内容 E"pq ZP =  
_d %H;<_  
struts.tag.altSyntax lwQI 9U[O2  
      Whether to use the alterative syntax for the tags or not 5a5 I+* c  
      是否可以用替代的语法替代tags 2+sNt6B2  
&0Wv+2l @  
struts.ui.templateDir H.|FEV@  
      The directory containing UI templates H5^ 'J`0\  
      UI templates的目录夹 J3S@1"   
2@uo2]o)  
struts.ui.theme J@p[v3W  
      The default UI template theme /NMd GKr  
      默认的UI template主题 BT`D|<  
i7mT<w>?  
struts.url.http.port `<b 3e(A  
      The HTTP port used by Struts URLs q`"gT;3S  
      设置http端口 Ol{)U;, `  
+ [|2k(U  
struts.url.https.port pWwaN4  
      The HTTPS port used by Struts URLs ) i.p[  
      设置https端口 &AZr (>  
<,HdX,5  
struts.url.includeParams Ia0.I " ,  
      The default includeParams method to generate Struts URLs FTtYzKX(bv  
      在url中产生 默认的includeParams ?`,Xb.NA$K  
#N[nvIi}  
ZK{VQ~  
struts.velocity.configfile ;W'y^jp]"  
      The Velocity configuration file path o*'J8El\y^  
      velocity配置文件路径 l?pZdAE  
,DXNq`24  
struts.velocity.contexts &>*f J  
      List of Velocity context names &N[~+"  
      velocity的context列表 2}b1PMpZG  
>m44U 9   
[@uL)*o_#  
struts.velocity.manager.classname _\"7  
      org.apache.struts2.views.velocity.VelocityManager implementation class C8-4 m68"  
      org.apache.struts2.views.velocity.VelocityManager接口名 kNd[M =%  
\m*?5]m ;  
struts.velocity.toolboxlocation m9wV#Ldu  
      The location of the Velocity toolbox mI@E>VCV[  
      velocity工具盒的位置 st+X~;PX*  
struts.xslt.nocache ) $#ov-]  
      Whether or not XSLT templates should not be cached dfO@Yo-?*'  
      是否XSLT模版应该被缓存 A_CEpG]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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