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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %;Z_`W  
9 OlJC[  
struts.action.extension r CUs  
      The URL extension to use to determine if the request is meant for a Struts action 8k.#4}fP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "tDB[?  
r $YEq5  
struts.configuration $`lGPi(Jc  
      The org.apache.struts2.config.Configuration implementation class R[m+s=+  
        org.apache.struts2.config.Configuration接口名 a\B?J  
H6KBXMYO  
struts.configuration.files %.fwNS  
      A list of configuration files automatically loaded by Struts 5*Dh#FRp  
      struts自动加载的一个配置文件列表 f Avh!g  
 _BCq9/  
struts.configuration.xml.reload KmWd$Qy,  
      Whether to reload the XML configuration or not KR%NgV+}!0  
      是否加载xml配置(true,false) 'mF&`BN}b  
c s:E^  
struts.continuations.package G1 I<B  
      The package containing actions that use Rife continuations };gcM @]]E  
      含有actions的完整连续的package名称 Mi}k>5VT  
6!=q+sw/X  
struts.custom.i18n.resources Zl.,pcL  
      Location of additional localization properties files to load >yLdrf  
      加载附加的国际化属性文件(不包含.properties后缀) y~VLa  
Le,;)Nd  
struts.custom.properties gXY]NWI  
      Location of additional configuration properties files to load SR<W3a\  
      加载附加的配置文件的位置 tU>7 jo[-p  
qmNG|U&  
="AaC!E,W  
struts.devMode uw@-.N^  
      Whether Struts is in development mode or not fEGnI\  
      是否为struts开发模式 \(zUI  
^^YP kh6sS  
struts.dispatcher.parametersWorkaround QVl"l'e8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _!?a9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) iWkC: fQz  
(SA^> r  
struts.enable.DynamicMethodInvocation ],'"iVh  
      Allows one to disable dynamic method invocation from the URL 3XncEdy_  
        允许动态方法调用 BJp~/H`vd  
%P C[-(Q  
struts.freemarker.manager.classname y6H`FFqK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]v+yeGIKS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fOP3`G^\  
\GK]6VW  
struts.i18n.encoding ZJ/K MW  
      The encoding to use for localization messages .B!  Z0  
      国际化信息内码 {CX06BP  
e=_Ng j)  
struts.i18n.reload tK 6=F63e  
      Whether the localization messages should automatically be reloaded jFI`CA6P  
      是否国际化信息自动加载 bH%d*  
{.Brh"yC  
struts.locale I:;umyRH  
      The default locale for the Struts application '<6DLtZl  
      默认的国际化地区信息 [88PCA:  
EbJc%%c  
struts.mapper.class $Xs`'>,"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {?r5~ T`2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sj v iH  
 e `K{  
struts.multipart.maxSize Ve xxdg  
      The maximize size of a multipart request (file upload) yMpZ-b$*~  
      multipart请求信息的最大尺寸(文件上传用) Qn;,OB k  
ghTue*A  
struts.multipart.parser O]oH}#5b  
      The org.apache.struts2.dispatcher.multipart. &fE2zTz  
      MultiPartRequest parser implementation for a multipart request (file upload) EQ>@K-R  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +.-mqtM  
CbOCL~ "  
x X.{(er  
struts.multipart.saveDir s'BlFB n  
      The directory to use for storing uploaded files w/9%C(w6  
      设置存储上传文件的目录夹 K.b :ae^k  
j?\z5i""f  
struts.objectFactory NC sem  
      The com.opensymphony.xwork2.ObjectFactory implementation class #1WCSLvtV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) E9' 2_e  
fGWXUJ  
struts.objectFactory.spring.autoWire ~{pds  
      Whether Spring should autoWire or not "kjSg7m*:  
      是否自动绑定Spring 8/lgM'Eux  
}q,dJE  
struts.objectFactory.spring.useClassCache O .jCDAP  
      Whether Spring should use its class cache or not z:&/O&?  
      是否spring应该使用自身的cache -Q|]C{r  
! %N@>[  
struts.objectTypeDeterminer VL|Z+3L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y<c7RK]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3`Xzp  
dq0!.gBT2  
struts.serve.static.browserCache !.499H3  
If static content served by the Struts filter should set browser caching header properties or not !1Ht{cA0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wEQZ9?\  
HumL(S'm  
struts.serve.static 7"OJ,Mx%  
      Whether the Struts filter should serve static content or not xl@~K^c]  
      是否struts过滤器应该提供静态内容 %8xKBL]J  
dk0} q6~  
struts.tag.altSyntax Tl1H2s=G-  
      Whether to use the alterative syntax for the tags or not 'LR|DS[Ne  
      是否可以用替代的语法替代tags F 1l8jB\  
ClNuO  
struts.ui.templateDir QZuKM'D+  
      The directory containing UI templates h05<1>?|  
      UI templates的目录夹 20I/En  
&q#. >  
struts.ui.theme ^z51f>C  
      The default UI template theme ` }B,w-,io  
      默认的UI template主题 ')Y1c O  
e$&n)>%  
struts.url.http.port F^5\w-gLY  
      The HTTP port used by Struts URLs F3L+X5D.yu  
      设置http端口 LCuz_LTFq{  
#5iy^?N"w  
struts.url.https.port [GcW*v  
      The HTTPS port used by Struts URLs yq[@Cw  
      设置https端口 ZH~Wn#Wp  
DcE4r>8B  
struts.url.includeParams |7${E^u  
      The default includeParams method to generate Struts URLs 8\jsGN.$JZ  
      在url中产生 默认的includeParams &=XK:+  
| /n  
7xfS%'=y"  
struts.velocity.configfile 3$.#\*s_4  
      The Velocity configuration file path Mq_P'/  
      velocity配置文件路径 pF(6M3>IN  
:>F3es`  
struts.velocity.contexts 9TwKd0AT$&  
      List of Velocity context names M`E}1WNQ?]  
      velocity的context列表 5Vai0Qfcu:  
Z;njSw%:  
wJ"]H!r0  
struts.velocity.manager.classname 4um^7Ns)7  
      org.apache.struts2.views.velocity.VelocityManager implementation class "2p\/VfA  
      org.apache.struts2.views.velocity.VelocityManager接口名 p|@#IoA/e  
fB]NEx|o~  
struts.velocity.toolboxlocation CTxP3a9]  
      The location of the Velocity toolbox {qOqtkj  
      velocity工具盒的位置 /Z[HU{4  
struts.xslt.nocache c e; zn\  
      Whether or not XSLT templates should not be cached lQy-&d|=#^  
      是否XSLT模版应该被缓存 |kTq &^$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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