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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hWe}(Ks  
u1Yp5jp^K  
struts.action.extension O lIH0  
      The URL extension to use to determine if the request is meant for a Struts action 6spk* 8e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 { qx,X.5$  
eBKIdR%k  
struts.configuration x5Pt\/ow  
      The org.apache.struts2.config.Configuration implementation class ~7H.<kJt  
        org.apache.struts2.config.Configuration接口名 c324@o^V  
[|Pe'?zkf  
struts.configuration.files 6)YNjh.{ *  
      A list of configuration files automatically loaded by Struts ?pY!sG  
      struts自动加载的一个配置文件列表 E%:zE Q  
vw6FvE`lC  
struts.configuration.xml.reload 1g.9R@Kc$  
      Whether to reload the XML configuration or not -+Dvyr  
      是否加载xml配置(true,false) E cz"O   
\+A<s,x  
struts.continuations.package EqluxD=  
      The package containing actions that use Rife continuations $yK!Q)e:  
      含有actions的完整连续的package名称 \Y 4Z Q"0Q  
o/ 5 Fg>d  
struts.custom.i18n.resources Y%9F  
      Location of additional localization properties files to load rq?x]`u   
      加载附加的国际化属性文件(不包含.properties后缀) '$^ F.2  
>Tx;<G  
struts.custom.properties L` "UeNT  
      Location of additional configuration properties files to load Jjq%cA  
      加载附加的配置文件的位置 Z9^$jw]  
<}1%">RA  
!AHm+C_=Lg  
struts.devMode .e+UgC wi  
      Whether Struts is in development mode or not M.Ik%nN#K0  
      是否为struts开发模式 /Q_\h+ `  
nd1*e  
struts.dispatcher.parametersWorkaround P9^h>sV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ![tI(TPq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f}!26[_9{  
*xC '  
struts.enable.DynamicMethodInvocation _4]dPk#^  
      Allows one to disable dynamic method invocation from the URL ]~ M -KT  
        允许动态方法调用 eP?|U.on  
Xlw=R2`)~  
struts.freemarker.manager.classname DV" ri  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \ChcJth@o<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +60;z4y}w  
Q(3x"+  
struts.i18n.encoding /GaR&  
      The encoding to use for localization messages ]f~YeOB@  
      国际化信息内码 r&DK> H  
h`j gF  
struts.i18n.reload 9U*vnLB  
      Whether the localization messages should automatically be reloaded ;N|>pSzmL  
      是否国际化信息自动加载 7mNskb|  
t_Wn<)XA  
struts.locale $)~]4n=  
      The default locale for the Struts application x6tY _lzJ  
      默认的国际化地区信息 ]H[\~J  
ISmnZ@  
struts.mapper.class OpE+e4~IF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Us5 JnP5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 I,;)pWX=@  
5?MvO]_  
struts.multipart.maxSize Nb1lawC  
      The maximize size of a multipart request (file upload) $z]l4Hj  
      multipart请求信息的最大尺寸(文件上传用) 9=f'sqIPV  
,Pm/ci( s  
struts.multipart.parser IWgC6)n@n  
      The org.apache.struts2.dispatcher.multipart. quYZD6IH  
      MultiPartRequest parser implementation for a multipart request (file upload) Hf iM]^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |O?Aj1g[c?  
dr o42#$Mo  
W=m_G]"L  
struts.multipart.saveDir U\{Z{F%8  
      The directory to use for storing uploaded files zOw]P6Gk  
      设置存储上传文件的目录夹 $@j7VPE  
Vp$ckr  
struts.objectFactory IuF-bxA  
      The com.opensymphony.xwork2.ObjectFactory implementation class ! N p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mUbaR  
6dUP's_  
struts.objectFactory.spring.autoWire H <yec"  
      Whether Spring should autoWire or not WXL.D_=+  
      是否自动绑定Spring |T%/d#b~  
4J1Q])G9  
struts.objectFactory.spring.useClassCache Y# #J  
      Whether Spring should use its class cache or not 4`F*] Ft  
      是否spring应该使用自身的cache 8Bvjj|~ (@  
Yt^+31/%  
struts.objectTypeDeterminer Zn/ /u<D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zU%aobZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {UNz UaE  
0^4*[?l9q  
struts.serve.static.browserCache z6qC6Ck|  
If static content served by the Struts filter should set browser caching header properties or not v oxlo>:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4hs4W,2!  
eC-TZH@  
struts.serve.static 7d*<'k]{,  
      Whether the Struts filter should serve static content or not "=;&{N~8U  
      是否struts过滤器应该提供静态内容 S}E@*t2 h  
ajAEGD2Zq  
struts.tag.altSyntax r.GjM#X  
      Whether to use the alterative syntax for the tags or not Y>+D\|%Q  
      是否可以用替代的语法替代tags r%m2$vx#  
5a/)|  
struts.ui.templateDir oCrn  
      The directory containing UI templates P,wJ@8lv  
      UI templates的目录夹 u$"5SGI6  
83a Rq&(R  
struts.ui.theme 0AEs+=  
      The default UI template theme WJ*DWyd''  
      默认的UI template主题 `uj`ixcR  
jDoWSYu4tY  
struts.url.http.port u@HP@>V  
      The HTTP port used by Struts URLs `6A"e Da  
      设置http端口 `3-j%H2R  
vC7sJIch2<  
struts.url.https.port 9`muk  
      The HTTPS port used by Struts URLs UnPSJ]VW  
      设置https端口 = 7?'S#  
MouYZI)  
struts.url.includeParams K^S#?T|[9  
      The default includeParams method to generate Struts URLs +CkK4<dF  
      在url中产生 默认的includeParams <O WPG,  
?9mY #_Of  
Wac8x%J  
struts.velocity.configfile ZDf9Npe  
      The Velocity configuration file path Rl~Tw9  
      velocity配置文件路径 NXx}KF c  
}?JO[Q +  
struts.velocity.contexts M3V[p9>  
      List of Velocity context names :\[F=  
      velocity的context列表 ZBGI_9wZ  
CeQcnJU  
BK{8\/dg  
struts.velocity.manager.classname e:l 6;  
      org.apache.struts2.views.velocity.VelocityManager implementation class BhKxI  
      org.apache.struts2.views.velocity.VelocityManager接口名 1pK7EK3R  
nxt1Y04,H  
struts.velocity.toolboxlocation +G~b-}  
      The location of the Velocity toolbox Dt ?Fs  
      velocity工具盒的位置 "hvw2lyp3  
struts.xslt.nocache qr@,92_  
      Whether or not XSLT templates should not be cached o8,K1ic5#  
      是否XSLT模版应该被缓存 L*Y}pO  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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