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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j*t>CB4  
{ :xINQ=}D  
struts.action.extension M7^PWC  
      The URL extension to use to determine if the request is meant for a Struts action 2hdi)C,7Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N3g[,BE  
I~H:-"2  
struts.configuration '31pb9@fH  
      The org.apache.struts2.config.Configuration implementation class -BfZ P5  
        org.apache.struts2.config.Configuration接口名 }@=m[Zx#  
rQg7r>%Q  
struts.configuration.files S!A)kK+  
      A list of configuration files automatically loaded by Struts hV#+joT8i  
      struts自动加载的一个配置文件列表 !;.i#c_u  
fqZqPcT0  
struts.configuration.xml.reload u4bPj2N8I  
      Whether to reload the XML configuration or not AX}l~ sv  
      是否加载xml配置(true,false) !^cQPX2<  
,u^i0uOg  
struts.continuations.package XKN`{h-@  
      The package containing actions that use Rife continuations ~j}di^<{  
      含有actions的完整连续的package名称 L3lf28W  
*X8<hYKZq  
struts.custom.i18n.resources PeEf=3  
      Location of additional localization properties files to load XFeHkU`C  
      加载附加的国际化属性文件(不包含.properties后缀) P0uUVU=B|  
<^6|ZgR  
struts.custom.properties +C1/02ZJ  
      Location of additional configuration properties files to load mG@xehH  
      加载附加的配置文件的位置 O&!>C7  
4]0|fi3}>  
w^e<p~i!^E  
struts.devMode -twV?~f  
      Whether Struts is in development mode or not o#gb+[  
      是否为struts开发模式 "& 'h\  
m-S4"!bl  
struts.dispatcher.parametersWorkaround M@EML @~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $HT {}^B  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O`5PX(J1&  
;W,XP#{W  
struts.enable.DynamicMethodInvocation }D/0&<1  
      Allows one to disable dynamic method invocation from the URL ~K]5`(KV  
        允许动态方法调用 &+;z`A'|8  
P,lKa.  
struts.freemarker.manager.classname 3Xyu`zS&   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0*S]m5#;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ukb2[mb*u  
(b%&DyOt  
struts.i18n.encoding N-EVH e'}6  
      The encoding to use for localization messages 1^^<6e  
      国际化信息内码 p&~8N#I#  
u^T)4~(  
struts.i18n.reload .<5 66g}VP  
      Whether the localization messages should automatically be reloaded udVEO n$  
      是否国际化信息自动加载 `6;%HbP$W+  
6=A   
struts.locale D_er(  
      The default locale for the Struts application 1uBnU2E  
      默认的国际化地区信息 m[7@l  
89ivyv;]U  
struts.mapper.class !j[Oy r|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _1_CYrUc  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7.7P>U  
]FV,}EZ  
struts.multipart.maxSize s{x{/Bp(KK  
      The maximize size of a multipart request (file upload) A+v6N>}*  
      multipart请求信息的最大尺寸(文件上传用) s<,[xkMB  
?EQ]f34  
struts.multipart.parser L5$r<t<  
      The org.apache.struts2.dispatcher.multipart. @H[)U/.  
      MultiPartRequest parser implementation for a multipart request (file upload) {"hX_t  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w/+e  
\`3YE~7J/  
Wg X9k J  
struts.multipart.saveDir Y&M}3H>E  
      The directory to use for storing uploaded files C3 >X1nU  
      设置存储上传文件的目录夹 +Y;/10p  
&,E^ y,r  
struts.objectFactory :uwB)G  
      The com.opensymphony.xwork2.ObjectFactory implementation class ('k;Ikut  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]M%kt+u!  
}>~';l  
struts.objectFactory.spring.autoWire > Q[L, I  
      Whether Spring should autoWire or not -pEt=  
      是否自动绑定Spring b5WtL+Z  
^APPWQUl  
struts.objectFactory.spring.useClassCache *$+k-BV  
      Whether Spring should use its class cache or not R%l6+Okr  
      是否spring应该使用自身的cache 4#D=+70'  
'Pk1 4`/  
struts.objectTypeDeterminer MP"Pqt  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~Q<h,P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  ?X{ul  
=)tU]kp  
struts.serve.static.browserCache #a7 Wx}  
If static content served by the Struts filter should set browser caching header properties or not 4rX jso|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j;%RV)e  
E(t:F^z&D  
struts.serve.static X{2))t%  
      Whether the Struts filter should serve static content or not S#gIfb<D  
      是否struts过滤器应该提供静态内容 08*O|Ym,  
W>jgsR79M  
struts.tag.altSyntax *WS'C}T  
      Whether to use the alterative syntax for the tags or not 6k14xPj  
      是否可以用替代的语法替代tags t4HDt\}&k~  
H_3-"m&3  
struts.ui.templateDir !a %6nBo  
      The directory containing UI templates ruqx #]-  
      UI templates的目录夹 KBVW <;C$  
<hG] f%  
struts.ui.theme <$m=@@qg  
      The default UI template theme #p<1@,  
      默认的UI template主题 42 6l:>D(  
JjO="Cmk/  
struts.url.http.port |n9q 4*dN  
      The HTTP port used by Struts URLs PH,MZ"Z%  
      设置http端口 _4!SO5T  
F|Y}X|x8Q  
struts.url.https.port Gvo|uB#  
      The HTTPS port used by Struts URLs z>n<+tso  
      设置https端口 ]{2Eo  
&RSUB;y mL  
struts.url.includeParams V s/Z8t  
      The default includeParams method to generate Struts URLs ^Ob#B!=  
      在url中产生 默认的includeParams g7>p,  
 D I` M  
7*{9 2_M  
struts.velocity.configfile QtF'x<cB  
      The Velocity configuration file path Z:TW{:lrI  
      velocity配置文件路径 +A 3Q$1F  
A'jw;{8NpF  
struts.velocity.contexts nMz~.^Q-  
      List of Velocity context names ]g}Tqf/N%  
      velocity的context列表 kaKV{;UM  
\W^+aNbv=8  
HTpoYxn(  
struts.velocity.manager.classname ;c>Co:W  
      org.apache.struts2.views.velocity.VelocityManager implementation class NTj:+z0  
      org.apache.struts2.views.velocity.VelocityManager接口名 , [ogh  
Er 4P  
struts.velocity.toolboxlocation ss8de9T"'  
      The location of the Velocity toolbox M@R_t(&=   
      velocity工具盒的位置 ]yR0"<W^xO  
struts.xslt.nocache iJIDx9 )Z  
      Whether or not XSLT templates should not be cached 9!aQ@ J^  
      是否XSLT模版应该被缓存 4^? J BpBZ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五