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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wUnz D)  
P[;<,U;'HO  
struts.action.extension jzRfD3_s  
      The URL extension to use to determine if the request is meant for a Struts action fgmu*\x<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fpz)@0K;  
Equj[yw%@  
struts.configuration /h)_Q;35S;  
      The org.apache.struts2.config.Configuration implementation class ]Q?`|a+i  
        org.apache.struts2.config.Configuration接口名 -\Y"MwIED  
DK!QGATh  
struts.configuration.files j3<|X  
      A list of configuration files automatically loaded by Struts (}$pf6s  
      struts自动加载的一个配置文件列表 P>*B{fi^  
*aE/\b  
struts.configuration.xml.reload #>I*c _-  
      Whether to reload the XML configuration or not ~Ibq,9i  
      是否加载xml配置(true,false) Mqy5>f)  
^qn,b/>L  
struts.continuations.package iL^bf*  
      The package containing actions that use Rife continuations ?Cg",k'  
      含有actions的完整连续的package名称  s~A#B)wB  
~/R,oQ1!g}  
struts.custom.i18n.resources O'<5PwhG  
      Location of additional localization properties files to load {km~,]N  
      加载附加的国际化属性文件(不包含.properties后缀) 4#pn ]  
wi7a_^{  
struts.custom.properties -k$*@Hq  
      Location of additional configuration properties files to load 5>E]C=maD  
      加载附加的配置文件的位置 B%~hVpm,eM  
v#. %eF m  
4G:?U6  
struts.devMode MfX1&/Z+  
      Whether Struts is in development mode or not {8'f>YP  
      是否为struts开发模式 C'6 yt  
X(sN+7DOV  
struts.dispatcher.parametersWorkaround ?`m#Y&Oi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic PP2>v|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;oe j~  
xq U@87[_  
struts.enable.DynamicMethodInvocation A Th<=1  
      Allows one to disable dynamic method invocation from the URL cqP)1V]  
        允许动态方法调用 D)XV{Wit  
 73:y&U  
struts.freemarker.manager.classname )oEHE7y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class # :^aE|s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4Nz@s^9  
-?m"+mUP  
struts.i18n.encoding [Pn(d[$z  
      The encoding to use for localization messages SN${cs%  
      国际化信息内码 C}i1)   
W@X/Z8.(  
struts.i18n.reload v;S_7#  
      Whether the localization messages should automatically be reloaded 9 n(.v}  
      是否国际化信息自动加载 k<bA\5K  
aP#nK  
struts.locale /(iq^  
      The default locale for the Struts application XXx]~m  
      默认的国际化地区信息 8'niew 5d  
Ia> 07av  
struts.mapper.class cip"9|"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {LwV&u(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .u+ZrA#  
:A~6Gk92A  
struts.multipart.maxSize +prr~vgE  
      The maximize size of a multipart request (file upload) 3RwDIk?>%  
      multipart请求信息的最大尺寸(文件上传用) V^v?;f?  
\yQs[l%J  
struts.multipart.parser ~9[^abz  
      The org.apache.struts2.dispatcher.multipart. 5:oteNc3  
      MultiPartRequest parser implementation for a multipart request (file upload) cph&\ V2jt  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SFj:|S=v6j  
S:.Vt&+NJ  
3lkz:]SsE  
struts.multipart.saveDir il=:T\'U9  
      The directory to use for storing uploaded files 5,i0QT"  
      设置存储上传文件的目录夹 m1d*Lt>F@  
Kd<c'!  
struts.objectFactory E41ay:duAl  
      The com.opensymphony.xwork2.ObjectFactory implementation class )~u<u:N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) RotWMGNK  
W%6Y?pf)z  
struts.objectFactory.spring.autoWire nIckI!U#D  
      Whether Spring should autoWire or not %%7~<=rk  
      是否自动绑定Spring EF Z]|Z7  
L0sb[:'luz  
struts.objectFactory.spring.useClassCache 5{`a\;*  
      Whether Spring should use its class cache or not <k41j=d  
      是否spring应该使用自身的cache Ct8}jg"  
<-Hw@g  
struts.objectTypeDeterminer PP]Z~ne0X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h$[tEmD%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]J] ~i[  
Te\i;7;4u  
struts.serve.static.browserCache pGwBhZnb>  
If static content served by the Struts filter should set browser caching header properties or not sI&|qK-(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <Qx]"ZP%  
Hzn6H4Rc  
struts.serve.static P+9%(S)L3  
      Whether the Struts filter should serve static content or not i]8+JG6  
      是否struts过滤器应该提供静态内容 u0s25JY.%  
,MmX(O0  
struts.tag.altSyntax KtR*/<7IC  
      Whether to use the alterative syntax for the tags or not <i!:{'%  
      是否可以用替代的语法替代tags KF.d:  
BEfP#h=hr  
struts.ui.templateDir " M+g=  
      The directory containing UI templates 5s /fBS  
      UI templates的目录夹 F\)?Ntj)>@  
-45xa$vv  
struts.ui.theme ZcP/rT3{^  
      The default UI template theme D^!x@I~:  
      默认的UI template主题 *(w#*,lv  
_e9S"``  
struts.url.http.port +nOa&d\  
      The HTTP port used by Struts URLs bb@3%r|_<  
      设置http端口 [k<w'n*  
4ayZ.`aK  
struts.url.https.port )<>1Q{j@  
      The HTTPS port used by Struts URLs R9-Ps qmF  
      设置https端口 ]:K[{3iM  
+|iJQF  
struts.url.includeParams P { 8d.  
      The default includeParams method to generate Struts URLs '1f:8  
      在url中产生 默认的includeParams #mFY?Zp)  
YXFUZ9a#e  
axpn*(yE  
struts.velocity.configfile /XeCJxo8  
      The Velocity configuration file path ws_/F  
      velocity配置文件路径 FN>ns,  
usFhcU  
struts.velocity.contexts K+F]a]kld  
      List of Velocity context names ywCF{rRd  
      velocity的context列表 :JI&ngWK  
]ssX,1#Xh  
5Mb5t;4b  
struts.velocity.manager.classname T\"eqa  
      org.apache.struts2.views.velocity.VelocityManager implementation class xnp5XhU  
      org.apache.struts2.views.velocity.VelocityManager接口名 k X1#+X  
"m'roU  
struts.velocity.toolboxlocation KhWt9=9  
      The location of the Velocity toolbox sf(2~BMQI  
      velocity工具盒的位置 Y}aaW[  
struts.xslt.nocache &4 ~C%{H3  
      Whether or not XSLT templates should not be cached .!><qV g  
      是否XSLT模版应该被缓存 IT5a/;J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八