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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Raxrb=7  
t2I5hSf  
struts.action.extension )d1_Wm#B  
      The URL extension to use to determine if the request is meant for a Struts action ,PuL{%PXu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8I8 F/47x  
$.PuK~}  
struts.configuration kabnVVn~  
      The org.apache.struts2.config.Configuration implementation class D!NQ~'.a=2  
        org.apache.struts2.config.Configuration接口名 mdmvT~`  
I^UC&5dC  
struts.configuration.files A3no~)wZn  
      A list of configuration files automatically loaded by Struts l(u.I2^o  
      struts自动加载的一个配置文件列表 Jz.NHiLct1  
v~V5`%  
struts.configuration.xml.reload %Yicg6:  
      Whether to reload the XML configuration or not -pa )K"z  
      是否加载xml配置(true,false) 7/ysVWt  
PMh^(j[  
struts.continuations.package WDc+6/<  
      The package containing actions that use Rife continuations k*E\B@W>  
      含有actions的完整连续的package名称 )- viGxJ@  
iH@yCNE"  
struts.custom.i18n.resources cU@SIJ)  
      Location of additional localization properties files to load LuSLkLN  
      加载附加的国际化属性文件(不包含.properties后缀) %Bn?n{ /  
RHq/JD-  
struts.custom.properties Z!@~>i  
      Location of additional configuration properties files to load TRQF^P3o  
      加载附加的配置文件的位置 0]=i}wL 8  
8x8 uo  
=aA+~/~8%  
struts.devMode =aj/,Q]  
      Whether Struts is in development mode or not e2ilB),  
      是否为struts开发模式 feNdMR7eM  
oCi=4#g%7  
struts.dispatcher.parametersWorkaround 7_Z#m (  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F\AX :  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &nkW1Ner9  
OCJnjlV%  
struts.enable.DynamicMethodInvocation LbG_z =A  
      Allows one to disable dynamic method invocation from the URL J'fQW<T4wU  
        允许动态方法调用 jbu8~\"  
U.XNv-M  
struts.freemarker.manager.classname e~@ [18  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R_68-WO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 wX[8A/JPD  
2viM)+  
struts.i18n.encoding vj\dA2!~  
      The encoding to use for localization messages U{z9>  
      国际化信息内码 8` @G;o  
W4e5Rb4~f"  
struts.i18n.reload ryCI>vJz  
      Whether the localization messages should automatically be reloaded AvSM ^  
      是否国际化信息自动加载 .J.-Mm` .  
Zh*u(rO  
struts.locale Z@&Dki  
      The default locale for the Struts application 1_ C]*p  
      默认的国际化地区信息 %1O[i4s:-  
9h%?QC  
struts.mapper.class (+u39NQV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a,+@|TJ,i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r'uGWW"w  
y^Kph# F"  
struts.multipart.maxSize 0B&Y ]*  
      The maximize size of a multipart request (file upload) &S]@Ot<z  
      multipart请求信息的最大尺寸(文件上传用) F;[T#N:~  
X 9%'|(tL  
struts.multipart.parser ;D s46M-s  
      The org.apache.struts2.dispatcher.multipart. |- rI@2`  
      MultiPartRequest parser implementation for a multipart request (file upload) ,^WJm?R  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t|<NI+H(e  
~J8pnTY  
i|}[A  
struts.multipart.saveDir 4RV%Z!kcD!  
      The directory to use for storing uploaded files 0=q;@OIf  
      设置存储上传文件的目录夹 * U$!I?  
{g~bQ2wDC  
struts.objectFactory uN^=<B?B  
      The com.opensymphony.xwork2.ObjectFactory implementation class S h,&{z!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;VNMD 6H  
OhmQ,  
struts.objectFactory.spring.autoWire 7&"n`@(.!  
      Whether Spring should autoWire or not }X_;X_\3;'  
      是否自动绑定Spring QgD g}\P  
P=+nB*hG  
struts.objectFactory.spring.useClassCache ]%Nlv(  
      Whether Spring should use its class cache or not H_Kj7(=&>  
      是否spring应该使用自身的cache nF4a-H&Fo  
.OqSch|  
struts.objectTypeDeterminer mBJeqG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HU-QDp%*r7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -zO2|@S,  
'vq:D$A  
struts.serve.static.browserCache k`9)=&zX+  
If static content served by the Struts filter should set browser caching header properties or not `S.ZS}~!F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )0e2ic/  
-,aeM~  
struts.serve.static V8wKAj Ux  
      Whether the Struts filter should serve static content or not B Ma)O  
      是否struts过滤器应该提供静态内容 7kK #\dI  
>'xGp7}y  
struts.tag.altSyntax gE hN3(  
      Whether to use the alterative syntax for the tags or not @]c(V%x   
      是否可以用替代的语法替代tags hj$ e|arB  
`^Eae  
struts.ui.templateDir ?EpSC&S\  
      The directory containing UI templates E)-r+ <l  
      UI templates的目录夹 ELjK0pE}-  
#D9e$E(J^  
struts.ui.theme ,7)C"  
      The default UI template theme RQB]/D\BO  
      默认的UI template主题 #nO|A\N  
j.ldaLdG  
struts.url.http.port 6^n0[7  
      The HTTP port used by Struts URLs ~h=X8-D  
      设置http端口 ',4x$qe  
d:q +  
struts.url.https.port G633Lm`ri  
      The HTTPS port used by Struts URLs ;HBC Ue<_  
      设置https端口 7HJS.047  
9F- )r'  
struts.url.includeParams 'snn~{hG  
      The default includeParams method to generate Struts URLs Z!&Rr~i <  
      在url中产生 默认的includeParams [;.`,/  
a7/-wk  
a=$t&7;,  
struts.velocity.configfile gx:;&4AD  
      The Velocity configuration file path lvpc*d|K  
      velocity配置文件路径 *tX{MSYW  
9Sq%s&  
struts.velocity.contexts %q322->Z  
      List of Velocity context names hv$m4,0WB  
      velocity的context列表 f8<o8*`7  
g3sUl&K  
b7\ cxgRq  
struts.velocity.manager.classname q7m6&2$[  
      org.apache.struts2.views.velocity.VelocityManager implementation class $hVYTy~}  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]PP:oriWl  
4YMX|1wd)  
struts.velocity.toolboxlocation )Vk6;__  
      The location of the Velocity toolbox 0Hw-59MK  
      velocity工具盒的位置 xf>z@)e  
struts.xslt.nocache m&0"<V!H/B  
      Whether or not XSLT templates should not be cached "SoHt]%#  
      是否XSLT模版应该被缓存 5ZPzPUa8~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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