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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lUiO|  
uN0'n}c;1.  
struts.action.extension \}Kad\)  
      The URL extension to use to determine if the request is meant for a Struts action +A%zFF3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I]B9+Z?xo  
_k5$.f:Yj<  
struts.configuration iig&O(,  
      The org.apache.struts2.config.Configuration implementation class dB Hki*.u  
        org.apache.struts2.config.Configuration接口名 wKJK!P  
fN 1:'d  
struts.configuration.files 9Dyw4'W.N  
      A list of configuration files automatically loaded by Struts NM1TFs2Y*  
      struts自动加载的一个配置文件列表 V3_qqz}`r  
oTA'=<W?D  
struts.configuration.xml.reload lEpPi@2PK  
      Whether to reload the XML configuration or not 17 VNw/Y  
      是否加载xml配置(true,false) `Mo%)I<`=  
G~NhBA9  
struts.continuations.package Xg;q\GS/<i  
      The package containing actions that use Rife continuations xG(:O@  
      含有actions的完整连续的package名称 II.Wa&w}  
{9hhfI#3_  
struts.custom.i18n.resources O>ZJOKe  
      Location of additional localization properties files to load &< hk&B  
      加载附加的国际化属性文件(不包含.properties后缀) hG3RZN#ejq  
<4;f?e u  
struts.custom.properties `U;V-  
      Location of additional configuration properties files to load ]xhH:kW4  
      加载附加的配置文件的位置 2Mu(GUe;  
d_98%U+u  
vf`]  
struts.devMode DE?@8k  
      Whether Struts is in development mode or not =OR&,xt  
      是否为struts开发模式 x_EU.924uY  
^Cg@'R9  
struts.dispatcher.parametersWorkaround 94XRf"^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E} ]SGU"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qche7kg!a  
tI2p-d9B  
struts.enable.DynamicMethodInvocation 73M;-qnU  
      Allows one to disable dynamic method invocation from the URL <pUc( tPoz  
        允许动态方法调用 j MA%`*r  
_[ `"E'  
struts.freemarker.manager.classname 98WJ"f_ #  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !v3wl0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4W+nS v  
gwYTOs ^  
struts.i18n.encoding g: "Hg-s  
      The encoding to use for localization messages /zV0kW>N  
      国际化信息内码 *tT5Zt/&Sr  
St1>J.k_  
struts.i18n.reload c{f1_qXN  
      Whether the localization messages should automatically be reloaded 8\Eq(o}7  
      是否国际化信息自动加载 7M9s}b%?  
3*b!]^d:D  
struts.locale &S# bLE  
      The default locale for the Struts application ~ K|o@LK  
      默认的国际化地区信息 %P]-wBJw  
QLTE`t5w3'  
struts.mapper.class g? \pH:|79  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NO)vk+   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fGLOXbsA  
.{ ]=v  
struts.multipart.maxSize [g*]u3s  
      The maximize size of a multipart request (file upload) u"a$/  
      multipart请求信息的最大尺寸(文件上传用) bRAf!<3  
NPR{g!tK%  
struts.multipart.parser !!t@ H\  
      The org.apache.struts2.dispatcher.multipart.  ]cI(||x  
      MultiPartRequest parser implementation for a multipart request (file upload) ]%%cc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [ \Aor[(  
Z8Clm:S  
AwL;-|X  
struts.multipart.saveDir 3!B3C(g  
      The directory to use for storing uploaded files HjN )~<j  
      设置存储上传文件的目录夹 6_a.`ehtj<  
2!Ex55  
struts.objectFactory zphStiwIQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~9ILN~91  
      com.opensymphony.xwork2.ObjectFactory接口(spring) v6?<)M%  
,K[B/tD{j  
struts.objectFactory.spring.autoWire }~5xlg$B<<  
      Whether Spring should autoWire or not K#{E87G(  
      是否自动绑定Spring ? 5 V-D8k  
%25_  
struts.objectFactory.spring.useClassCache )uyh  
      Whether Spring should use its class cache or not Ljxn}):[  
      是否spring应该使用自身的cache Sq==)$G  
[G|2m_  
struts.objectTypeDeterminer IN]bAd8"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j|WaWnl=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P6 G/J-  
Qs{Qg<}  
struts.serve.static.browserCache ]R{=|  
If static content served by the Struts filter should set browser caching header properties or not E]Hl&t/}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zR3Z(^]v  
ss 3fq}  
struts.serve.static wh:`4Yw  
      Whether the Struts filter should serve static content or not `\P:rn95;  
      是否struts过滤器应该提供静态内容 Y<.F/iaH  
D2Go,1  
struts.tag.altSyntax _>:g&pS/  
      Whether to use the alterative syntax for the tags or not ?8 C+wW  
      是否可以用替代的语法替代tags M !OI :v  
bvR*sT#rg  
struts.ui.templateDir $Y0bjS2J  
      The directory containing UI templates .< vg[  
      UI templates的目录夹 7\U1K^q  
*id|za|:k  
struts.ui.theme {UZli[W1  
      The default UI template theme (^Do#3  
      默认的UI template主题 iVu+ct-iv  
NI s4v(!  
struts.url.http.port MgMLfgt"V  
      The HTTP port used by Struts URLs 7<^D7  
      设置http端口 KwQO,($,]  
)SUN+YV^  
struts.url.https.port Q84KU8?d  
      The HTTPS port used by Struts URLs M7Hk54U +t  
      设置https端口 W\<#`0tUt  
O x$|ZEh  
struts.url.includeParams =3SL& :8  
      The default includeParams method to generate Struts URLs Z#o\9/{(R  
      在url中产生 默认的includeParams 3Ob"r`  
-;`W"&`ss  
4+ k:j=x  
struts.velocity.configfile '7*=m^pc  
      The Velocity configuration file path UXk8nH  
      velocity配置文件路径 RLHe;-*b]I  
IfXLnD^||  
struts.velocity.contexts fp![Pbms.  
      List of Velocity context names dju&Ku  
      velocity的context列表 >;3c; nf  
4QZy-a*tA  
hy)RV=X  
struts.velocity.manager.classname xf]4!zE  
      org.apache.struts2.views.velocity.VelocityManager implementation class ia_8$>xW+  
      org.apache.struts2.views.velocity.VelocityManager接口名 VYAe !{[  
Xp?Z;$r$  
struts.velocity.toolboxlocation a@jP^VVk  
      The location of the Velocity toolbox VD3[ko  
      velocity工具盒的位置 T&23Pf1  
struts.xslt.nocache $^0YK|F  
      Whether or not XSLT templates should not be cached Csc2yI%3  
      是否XSLT模版应该被缓存 : }IS=A  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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