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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $9J"r9@@  
d#z67Nl6  
struts.action.extension "{0kg'fU  
      The URL extension to use to determine if the request is meant for a Struts action 3 S5QqAm  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /r?X33D!  
E{Q^ZSV3B  
struts.configuration R\+$^G}#6  
      The org.apache.struts2.config.Configuration implementation class q{_buTARq  
        org.apache.struts2.config.Configuration接口名 lp]O8^][&  
?)PcYrV  
struts.configuration.files Aqm0|GlJ  
      A list of configuration files automatically loaded by Struts L"b5P2{c  
      struts自动加载的一个配置文件列表 j/Kw-h ,5"  
Kc{wv/6}T  
struts.configuration.xml.reload T@S+5(  
      Whether to reload the XML configuration or not {jq-dL  
      是否加载xml配置(true,false) p' gv5\u[w  
<n`|zQ  
struts.continuations.package "M*\,IH  
      The package containing actions that use Rife continuations `H|g~7KD&  
      含有actions的完整连续的package名称 I%s/h4x^B[  
E|fPI u  
struts.custom.i18n.resources $ `ho+  
      Location of additional localization properties files to load . }1!MK5  
      加载附加的国际化属性文件(不包含.properties后缀) jf2E{48P  
3~S~)quwP  
struts.custom.properties O0I/^  
      Location of additional configuration properties files to load "{:*fI;!  
      加载附加的配置文件的位置 _6[NYv$"  
L`p[Dq.  
}z*p2)v`  
struts.devMode R`<E3J\*  
      Whether Struts is in development mode or not @F1pu3E  
      是否为struts开发模式 z DK+8  
bIhL!Ty T.  
struts.dispatcher.parametersWorkaround 3whyIXs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FPMW"~v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f Gfv{4R  
P"#^i<ut@T  
struts.enable.DynamicMethodInvocation Av[jFk  
      Allows one to disable dynamic method invocation from the URL }l2JXf55  
        允许动态方法调用 ':[y]ep(~|  
_8`|KY  
struts.freemarker.manager.classname X3>(K1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bC{~/ JP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &vn9l#\(  
cP Y^Bf5)  
struts.i18n.encoding HvngjP{>  
      The encoding to use for localization messages I[|I\tW  
      国际化信息内码 ls5S9R 5  
<*\J 6:^n  
struts.i18n.reload {F4:  
      Whether the localization messages should automatically be reloaded 'F~u \m=E  
      是否国际化信息自动加载 Mu%'cwp$  
4H:WpW*r  
struts.locale &d2/F i+  
      The default locale for the Struts application o]j*  
      默认的国际化地区信息 <eI;Jph5  
_Dv^~e1c  
struts.mapper.class ppYz~ {"r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r3-3*_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N$+"zJmw&  
0Nfj}sXCWE  
struts.multipart.maxSize A4^+p0@  
      The maximize size of a multipart request (file upload) 68SM br  
      multipart请求信息的最大尺寸(文件上传用) `l}-S |a  
_`\INZe-G  
struts.multipart.parser C+mU_g>  
      The org.apache.struts2.dispatcher.multipart. VuY.})+J:  
      MultiPartRequest parser implementation for a multipart request (file upload) kmS8>O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )eFK@goGeb  
wfdFGoy(  
F~Li.qF  
struts.multipart.saveDir We ->d |=  
      The directory to use for storing uploaded files j0GI[#  
      设置存储上传文件的目录夹 p#kC#{<nE  
s5pY)6)  
struts.objectFactory anvj{1  
      The com.opensymphony.xwork2.ObjectFactory implementation class xI@~Ig  
      com.opensymphony.xwork2.ObjectFactory接口(spring) A_.QHUjpx  
|); >wV"  
struts.objectFactory.spring.autoWire jBC9Vt;B  
      Whether Spring should autoWire or not A>?fbY2n  
      是否自动绑定Spring 1gE`_%?K  
bm4W,  
struts.objectFactory.spring.useClassCache A0XFu}  
      Whether Spring should use its class cache or not U,=K_oBAq  
      是否spring应该使用自身的cache Rc4EFHL  
Q@8[ql1l  
struts.objectTypeDeterminer (TE2t7ab|M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =T-w.}27O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u!i5Q  
JvDsr0]\#  
struts.serve.static.browserCache WdT|xf.Q&  
If static content served by the Struts filter should set browser caching header properties or not _(hwU>.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gY9"!IVe+  
l;.BlHyu  
struts.serve.static /K^cU;E,  
      Whether the Struts filter should serve static content or not q :bKT#\  
      是否struts过滤器应该提供静态内容 c&++[  
8VZ-`?p  
struts.tag.altSyntax zCHr  
      Whether to use the alterative syntax for the tags or not x3Ud0[(  
      是否可以用替代的语法替代tags xeI{i{8  
"YL-!P  
struts.ui.templateDir -)oBh  
      The directory containing UI templates a5-\=0L~  
      UI templates的目录夹 '!R,)5l0h  
T?Y\~.+99  
struts.ui.theme Cu:Zn%  
      The default UI template theme U]|q4!WE  
      默认的UI template主题 IfcFlXmt2  
z m'jk D|  
struts.url.http.port ! Cl/=0$[L  
      The HTTP port used by Struts URLs ju#6 3  
      设置http端口 RVfe}4Stm#  
W%1S:2+Kl  
struts.url.https.port }>0 Kc=  
      The HTTPS port used by Struts URLs ~S3eatM$9  
      设置https端口 gnXjd}  
V5B-S.i@  
struts.url.includeParams W(aRO  
      The default includeParams method to generate Struts URLs -e~U u  
      在url中产生 默认的includeParams @m V C  
{ rT`*P~  
o!~bR  
struts.velocity.configfile to3J@:V8e  
      The Velocity configuration file path d<'xpdxc  
      velocity配置文件路径 [R4x[36Zp  
Wv"tAseu  
struts.velocity.contexts x1wxB 1)2  
      List of Velocity context names 2?QJh2  
      velocity的context列表 Q$1K{14I  
PAHlj,n)  
0Mg8{  
struts.velocity.manager.classname F :S,{&jB  
      org.apache.struts2.views.velocity.VelocityManager implementation class &r%*_pX  
      org.apache.struts2.views.velocity.VelocityManager接口名 7g)3\C   
@@wx~|%  
struts.velocity.toolboxlocation QCR-lxO1  
      The location of the Velocity toolbox +,Az\aT/%  
      velocity工具盒的位置 |xVCl<{F%  
struts.xslt.nocache 0>iFXw:fn  
      Whether or not XSLT templates should not be cached 3J T3;O  
      是否XSLT模版应该被缓存 U[b;#Y1X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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