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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?}m/Q"!1  
(WR&Vt4Rh  
struts.action.extension ;i^p6b j  
      The URL extension to use to determine if the request is meant for a Struts action LVq3 R 8A  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :HYqm*v;W  
gZ%B9i:  
struts.configuration ~KD x  
      The org.apache.struts2.config.Configuration implementation class _2q4Aaza  
        org.apache.struts2.config.Configuration接口名 *;Dd:D9  
\o?zL7  
struts.configuration.files skR/Wf9DH  
      A list of configuration files automatically loaded by Struts 2WIL0Siwl  
      struts自动加载的一个配置文件列表 Pr{?A]dQ  
?Bq"9*q  
struts.configuration.xml.reload -6;0 x  
      Whether to reload the XML configuration or not Z}T<^  F  
      是否加载xml配置(true,false) L^KGY<hp4  
O}MY:6Pe  
struts.continuations.package [^A.$,  
      The package containing actions that use Rife continuations Jn +[:s.  
      含有actions的完整连续的package名称 ^ox^gw)  
7e/Uc!&*  
struts.custom.i18n.resources 1B+MCt4  
      Location of additional localization properties files to load sVZb[|zSri  
      加载附加的国际化属性文件(不包含.properties后缀) "V&2 g?  
! o:m*:  
struts.custom.properties VE& ?Zd~  
      Location of additional configuration properties files to load >{~W"  
      加载附加的配置文件的位置 /4YXx|V  
24:;vcb  
[g]ks   
struts.devMode =8X`QUmT  
      Whether Struts is in development mode or not v/c8P\  
      是否为struts开发模式 >1`FR w<  
P1vr}J  
struts.dispatcher.parametersWorkaround Vpt)?];P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic VW<s_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !X(Lvt/  
;/N[tO?Q  
struts.enable.DynamicMethodInvocation >>rW-&  
      Allows one to disable dynamic method invocation from the URL ?t'ZX~k  
        允许动态方法调用 4HVZ;,q  
Lt8chNi [  
struts.freemarker.manager.classname XASoS5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LU_@8i:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `~WxMY0M  
8Z4d<DIJ  
struts.i18n.encoding [y\ZnoB  
      The encoding to use for localization messages $^.LZ1Jd  
      国际化信息内码 d;|e7$F'  
8X!UtHml  
struts.i18n.reload /wK5YN.em  
      Whether the localization messages should automatically be reloaded [`_&d7{-4b  
      是否国际化信息自动加载 6`]R)i]  
/,"Z^=  
struts.locale KwN o/x| v  
      The default locale for the Struts application p^&' C_?  
      默认的国际化地区信息 Cfyas'  
b,Ed}Ir  
struts.mapper.class /R^HRzTO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nZfTK>)A0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l$z[Vh^UU<  
Ms<^_\iPN  
struts.multipart.maxSize 7I/Sfmqy"O  
      The maximize size of a multipart request (file upload) Bz_['7D  
      multipart请求信息的最大尺寸(文件上传用) 1.o-2:]E  
s{NEP/QQJ  
struts.multipart.parser >Gk<[0U  
      The org.apache.struts2.dispatcher.multipart. +Q_X,gZ  
      MultiPartRequest parser implementation for a multipart request (file upload) qBpv[m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GD}3 r:wDs  
sRE$*^i  
Un]`Gd]:  
struts.multipart.saveDir kWF4k  
      The directory to use for storing uploaded files f62z9)`^  
      设置存储上传文件的目录夹 mq[(yR  
WHBQA\4  
struts.objectFactory VBF3N5 ;W  
      The com.opensymphony.xwork2.ObjectFactory implementation class K?BWl:^x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {0lY\#qcE  
:bE ^b  
struts.objectFactory.spring.autoWire P|v;'9  
      Whether Spring should autoWire or not  $hPAp}  
      是否自动绑定Spring qDM/ 6xO  
}zj w\  
struts.objectFactory.spring.useClassCache r6Lb0PzMf  
      Whether Spring should use its class cache or not Ig'Y]%Z0  
      是否spring应该使用自身的cache '/\@Mc4T  
FZ #ngrT  
struts.objectTypeDeterminer WVftLIJ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ndOPD]A'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U_ V0  
8d-; ;V  
struts.serve.static.browserCache "monuErg&  
If static content served by the Struts filter should set browser caching header properties or not 1T%Y:0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G#HbiVH9  
0(Vbji  
struts.serve.static Z9i,#/  
      Whether the Struts filter should serve static content or not L4zSro:Si  
      是否struts过滤器应该提供静态内容 &s"&rFFO[  
3Ym5SrKK  
struts.tag.altSyntax a { L`C"rJ  
      Whether to use the alterative syntax for the tags or not K-)*S\<}  
      是否可以用替代的语法替代tags 5hB&]6n  
~{n_rKYV  
struts.ui.templateDir %+w>`k3(N  
      The directory containing UI templates m1gJ"k6 `j  
      UI templates的目录夹 :)c >5  
j23OgbI  
struts.ui.theme n8w|8[uV^  
      The default UI template theme ;J2U5Y NO  
      默认的UI template主题 Gnl6>/L,  
$9y]>R  
struts.url.http.port }kT;UdIu;  
      The HTTP port used by Struts URLs %{yr#F=t#]  
      设置http端口 nqBZp N ^  
u%V =Ze  
struts.url.https.port -]Z!_[MlDF  
      The HTTPS port used by Struts URLs KA`1IW;  
      设置https端口 dY~3 YD[  
ba% [!  
struts.url.includeParams L:`|lc=^  
      The default includeParams method to generate Struts URLs U# -&%|b$  
      在url中产生 默认的includeParams 394u']M  
A~ '2ki5$g  
`kwyF27v]  
struts.velocity.configfile B+jT|Y'  
      The Velocity configuration file path ynw^nmM  
      velocity配置文件路径 XU2 HWa  
nOkX:5  
struts.velocity.contexts !}"npUgE  
      List of Velocity context names ]b'K BAMy  
      velocity的context列表 iEr|?,  
;G0~f9  
5BS-q"  
struts.velocity.manager.classname u4IgPCTZ+  
      org.apache.struts2.views.velocity.VelocityManager implementation class nv{ou [vQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 7Hf6$2Wh  
Sj+ gf~~  
struts.velocity.toolboxlocation m,K\e  
      The location of the Velocity toolbox RL~\/#  
      velocity工具盒的位置 =V"ags   
struts.xslt.nocache L FHyiIO  
      Whether or not XSLT templates should not be cached |O+R%'z'<  
      是否XSLT模版应该被缓存 '$ s:cS`=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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