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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Cq;t;qN,nQ  
*DObtS_ 6  
struts.action.extension 23@e?A=C  
      The URL extension to use to determine if the request is meant for a Struts action |1X^@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rc1EJ(c  
He^+>XIam  
struts.configuration QgO@oV*S  
      The org.apache.struts2.config.Configuration implementation class ZdeRLX  
        org.apache.struts2.config.Configuration接口名 @4Z>;  
Q7UFF  
struts.configuration.files 7)S`AQ2:)  
      A list of configuration files automatically loaded by Struts sh[Yu  
      struts自动加载的一个配置文件列表 +b1(sk=4z  
n?_!gqK  
struts.configuration.xml.reload p8hF`D~  
      Whether to reload the XML configuration or not o{pQDI {R  
      是否加载xml配置(true,false) ~b/lr  
`DIIJ<;g  
struts.continuations.package Mz# &"WjF  
      The package containing actions that use Rife continuations 1s8v E f  
      含有actions的完整连续的package名称 JDfkm+}uY  
'A .c*<_  
struts.custom.i18n.resources $r*7)/  
      Location of additional localization properties files to load N[d*_KN.!  
      加载附加的国际化属性文件(不包含.properties后缀) ;0O3b  
eWS[|' dl  
struts.custom.properties !}|n3wQ  
      Location of additional configuration properties files to load L0ig%  
      加载附加的配置文件的位置 ^_#0\f  
9KRHo%m  
K,bv\j;f  
struts.devMode &1YqPk  
      Whether Struts is in development mode or not I=6\z^:  
      是否为struts开发模式 v+f:VA  
>J^bs &j  
struts.dispatcher.parametersWorkaround rlk0t159  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v Ic 0V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vBx*bZ  
i`)bn 1Xm  
struts.enable.DynamicMethodInvocation _R<eWp  
      Allows one to disable dynamic method invocation from the URL eyf\j,xP&  
        允许动态方法调用 zJWBovT/  
jnsV'@v8Nj  
struts.freemarker.manager.classname dqO!p6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $, 4;_4t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |E-/b6G  
y`wTw/5N  
struts.i18n.encoding r,X5@/  
      The encoding to use for localization messages k v1q \  
      国际化信息内码 *#-X0}'s  
(iM"ug2  
struts.i18n.reload ps=jGh[  
      Whether the localization messages should automatically be reloaded a5ZU"6Hi  
      是否国际化信息自动加载 7yo/ sb9h  
Xd/gvg{??0  
struts.locale Q1J./C}  
      The default locale for the Struts application %7%7 W*0d  
      默认的国际化地区信息 HMGby2^+  
}VxbO8\b(  
struts.mapper.class Dw{rjK\TT'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \PU3{_G]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 M-1 VB5  
P/snzm|@  
struts.multipart.maxSize l G12Su/  
      The maximize size of a multipart request (file upload) V{@ xhW0  
      multipart请求信息的最大尺寸(文件上传用) wU,{ 5w  
"@U9'rKx  
struts.multipart.parser *5Upb,* *  
      The org.apache.struts2.dispatcher.multipart. zJJ KLr;  
      MultiPartRequest parser implementation for a multipart request (file upload) B5h-JON]-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7^,C=2  
JR{3n*  
Z*S 9pkWcF  
struts.multipart.saveDir T)wc{C9w  
      The directory to use for storing uploaded files 6z v+Av:  
      设置存储上传文件的目录夹 M,@\*qlEJ  
|d^r"wbs3  
struts.objectFactory OE)n4X  
      The com.opensymphony.xwork2.ObjectFactory implementation class hFl$u8KV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @/h_v#W  
CqX2R:#  
struts.objectFactory.spring.autoWire Nw ;BhBt  
      Whether Spring should autoWire or not cAq>|^f0a  
      是否自动绑定Spring nB"r<?n<  
V_f}Y8>e  
struts.objectFactory.spring.useClassCache Q!K@  
      Whether Spring should use its class cache or not |S48xsFvq  
      是否spring应该使用自身的cache /.<%y 8v  
[.4R ,[U  
struts.objectTypeDeterminer "3o{@TdU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d%_v eVIe  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Awl4*J~  
}Kc[pp|9<  
struts.serve.static.browserCache m^cr-'  
If static content served by the Struts filter should set browser caching header properties or not fkE4 [X7f  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `<&RZB2  
,73 kh  
struts.serve.static ] -"~?  
      Whether the Struts filter should serve static content or not <>/0 ;J1<  
      是否struts过滤器应该提供静态内容 nIdB,  
gTWl];xja  
struts.tag.altSyntax yO Ed8  
      Whether to use the alterative syntax for the tags or not  z}\TS.  
      是否可以用替代的语法替代tags -q1vB8gjj  
Yqz(@( %  
struts.ui.templateDir y1R53u`;L  
      The directory containing UI templates !4-B xeNY\  
      UI templates的目录夹 19-|.9m(  
@wO"?w(  
struts.ui.theme o C0K!{R*  
      The default UI template theme _mVq9nBEf  
      默认的UI template主题 5BKga1Q  
|KF_h^  
struts.url.http.port @LQe[`  
      The HTTP port used by Struts URLs ~I'1\1  
      设置http端口 .xnJT2uu'  
Bp #:sAG  
struts.url.https.port 0s>ozAJ  
      The HTTPS port used by Struts URLs luNEgCq  
      设置https端口 Yyl(<,Yi  
:m~R<BQ"  
struts.url.includeParams - \ {.]KL  
      The default includeParams method to generate Struts URLs RM/q\100  
      在url中产生 默认的includeParams hzG+s#  
]iP  +Y  
7OF6;@<  
struts.velocity.configfile NJ 6* 7Cd  
      The Velocity configuration file path wGRMv1|lIu  
      velocity配置文件路径 :xd)]Ns  
(MfPu8j  
struts.velocity.contexts kkvG=  
      List of Velocity context names /r Q4JoR>  
      velocity的context列表 Qf HJZ7K.4  
:PJ 5~7C  
v[P $c$Xi  
struts.velocity.manager.classname &w4~0J>v!  
      org.apache.struts2.views.velocity.VelocityManager implementation class zTP|H5HyK  
      org.apache.struts2.views.velocity.VelocityManager接口名 =t,}I\_^c  
VV'K$v3'N8  
struts.velocity.toolboxlocation G a1B&@T  
      The location of the Velocity toolbox E@uxEF  
      velocity工具盒的位置 ExJch\  
struts.xslt.nocache l)1FCDV  
      Whether or not XSLT templates should not be cached 6;JlA})  
      是否XSLT模版应该被缓存 'WF Ey>1#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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