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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }" 'l8t0?  
!n/"39KT  
struts.action.extension a2un[$Jq`  
      The URL extension to use to determine if the request is meant for a Struts action fL&bN[XA"$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J4ltHk.|  
|P]>[}mD  
struts.configuration v iY&D  
      The org.apache.struts2.config.Configuration implementation class MkG*6A  
        org.apache.struts2.config.Configuration接口名 Cc,,e`  
rt\4We,7  
struts.configuration.files B[O1^jdO  
      A list of configuration files automatically loaded by Struts #}!Ge  
      struts自动加载的一个配置文件列表 c`&<"Us  
ON=6w_  
struts.configuration.xml.reload Hi<5jl  
      Whether to reload the XML configuration or not "M.vu}~>  
      是否加载xml配置(true,false) &De&ZypU  
<Cw)S8t  
struts.continuations.package 4HK#]M>yz  
      The package containing actions that use Rife continuations ceR zHq=  
      含有actions的完整连续的package名称 Ol'Ct'_k,"  
r6`v-TY(/  
struts.custom.i18n.resources anTS8b   
      Location of additional localization properties files to load C2</.jeLa  
      加载附加的国际化属性文件(不包含.properties后缀) ?8Hr 9  
!8U\GR `  
struts.custom.properties Ytnk^/Z1L  
      Location of additional configuration properties files to load AA um1xl  
      加载附加的配置文件的位置 Rx 4 ;X  
*1KrI9i  
XaV h.  
struts.devMode bgjo_!J+Pp  
      Whether Struts is in development mode or not 1^zpO~@ S  
      是否为struts开发模式 ZLJfSnB  
4` gAluJ#  
struts.dispatcher.parametersWorkaround [huS"1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'lym^^MjL+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yb#NB)+E@  
zR+EJFf  
struts.enable.DynamicMethodInvocation $!x8XpR8s  
      Allows one to disable dynamic method invocation from the URL x\Bl^1&  
        允许动态方法调用 q(J3fjY)  
nDS mr  
struts.freemarker.manager.classname (JHL0Z/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0BM3:]=wr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )q\|f_  
TC4W7} }  
struts.i18n.encoding Ii /#cdgF  
      The encoding to use for localization messages ,tZWPF-  
      国际化信息内码 Uzb~L_\Rmt  
jLf.qf8qm  
struts.i18n.reload k!K}<sX2  
      Whether the localization messages should automatically be reloaded shOQ/  
      是否国际化信息自动加载 d3# >\QCD9  
~JsTHE$F  
struts.locale k ckWBL  
      The default locale for the Struts application ~ FW@  
      默认的国际化地区信息 ?1Lzbou  
gh3XC.&  
struts.mapper.class 3EN?{T<yf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^|?/ y=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q&;dXE h  
i*'6"  
struts.multipart.maxSize SXn1v.6  
      The maximize size of a multipart request (file upload) 7c9-MP)  
      multipart请求信息的最大尺寸(文件上传用)  pojQ/  
e`fN+  
struts.multipart.parser LoQm&3/  
      The org.apache.struts2.dispatcher.multipart. #N?EPV$  
      MultiPartRequest parser implementation for a multipart request (file upload) -gl7mO*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -aPvls   
SNB >  
yT<yy>J9l#  
struts.multipart.saveDir E4aCL#}D  
      The directory to use for storing uploaded files oX@0+*"  
      设置存储上传文件的目录夹 F7wpGtt  
s88lN=;  
struts.objectFactory ^<#08L;  
      The com.opensymphony.xwork2.ObjectFactory implementation class _ 6"!y ]Q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0!YB.=\{_q  
_4VF>#b  
struts.objectFactory.spring.autoWire G/Nb@pAy[  
      Whether Spring should autoWire or not pmR6(/B#  
      是否自动绑定Spring rYbb&z!u  
-(4)lw>U  
struts.objectFactory.spring.useClassCache .olDmFQD  
      Whether Spring should use its class cache or not /pZ]:.A  
      是否spring应该使用自身的cache UGK4uK+I`  
x'OE},>i  
struts.objectTypeDeterminer FOxMt;|M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sHx>UvN6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pJ7M.C!  
."<mL}Fi(  
struts.serve.static.browserCache vkWh2z  
If static content served by the Struts filter should set browser caching header properties or not s)ymm7?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7{ zkqug  
5_@ u Be~  
struts.serve.static 2?h c94  
      Whether the Struts filter should serve static content or not mrR~[533j  
      是否struts过滤器应该提供静态内容 6vySOVMj  
<\< [J0  
struts.tag.altSyntax 5T)qn`%  
      Whether to use the alterative syntax for the tags or not y -j3d)T  
      是否可以用替代的语法替代tags 4hb<EH'_&  
X(nbfh?n  
struts.ui.templateDir bLyU;  
      The directory containing UI templates e)kN%JqW  
      UI templates的目录夹 ]5X=u(}  
#;59THdtPk  
struts.ui.theme <QoSq'g#,=  
      The default UI template theme #gzY _)E  
      默认的UI template主题 [;3` Aw  
jdsNZV  
struts.url.http.port AV\6K;~  
      The HTTP port used by Struts URLs ^sR]w]cz.  
      设置http端口 Nf(Np1?;c  
!iBe/yb  
struts.url.https.port Sq"O<FmI  
      The HTTPS port used by Struts URLs *5'U3py  
      设置https端口 cs[_5r&:  
,2\?kPoc8  
struts.url.includeParams .:?X<=!S&t  
      The default includeParams method to generate Struts URLs V3 j1M?>  
      在url中产生 默认的includeParams ns|)VX   
)&R^J;W$M1  
CPssk,q~C  
struts.velocity.configfile }!=}g|z#|  
      The Velocity configuration file path qP6 YnJWl  
      velocity配置文件路径 q 65mR!)  
"L'0"  
struts.velocity.contexts ,f ..46G  
      List of Velocity context names /,v>w,  
      velocity的context列表 Ve,h]/G  
i;4|UeUl  
@Sb 86Ee  
struts.velocity.manager.classname q3a`Y)aVB  
      org.apache.struts2.views.velocity.VelocityManager implementation class +DMD g.  
      org.apache.struts2.views.velocity.VelocityManager接口名 EugQr<sM#  
HPT{83  
struts.velocity.toolboxlocation 6(1xU\x  
      The location of the Velocity toolbox "RPX_  
      velocity工具盒的位置 VJ1(|v{D4[  
struts.xslt.nocache r[>4b}4s  
      Whether or not XSLT templates should not be cached ~Q7)6%  
      是否XSLT模版应该被缓存 u2=gG.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五