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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *@r/5pM2}  
Ovt.!8  
struts.action.extension vNY{j7l/W  
      The URL extension to use to determine if the request is meant for a Struts action 9J*\T(W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Gg3,:A_ w  
y$F'(b| )  
struts.configuration AGO+p(6d=g  
      The org.apache.struts2.config.Configuration implementation class Ae^~Cz1qz  
        org.apache.struts2.config.Configuration接口名 3!Ij;$  
} FlT%>Gw  
struts.configuration.files p8H'{f\G  
      A list of configuration files automatically loaded by Struts .fFCC`&T  
      struts自动加载的一个配置文件列表 A*R^n}sh  
| y# Jx  
struts.configuration.xml.reload S8w _ii3zd  
      Whether to reload the XML configuration or not v ~?qz5:K~  
      是否加载xml配置(true,false) >,Ci?[pf  
x{8xW0  
struts.continuations.package ' !cCMTj  
      The package containing actions that use Rife continuations TnOggpQ6X  
      含有actions的完整连续的package名称 ksqQM  
`$<.pOm  
struts.custom.i18n.resources m 3hrb-  
      Location of additional localization properties files to load Nk 8B_{  
      加载附加的国际化属性文件(不包含.properties后缀) 7Lc]HSZo,  
n;Q7X>-f8`  
struts.custom.properties K?Nhi^f"L  
      Location of additional configuration properties files to load k&q;JyUi  
      加载附加的配置文件的位置 ufZDF=$7  
7P5)Z-K[  
Rz:]\jcIT/  
struts.devMode gHEu/8E  
      Whether Struts is in development mode or not b:m88AG  
      是否为struts开发模式 gNrjo=  
UiP"Ixg6  
struts.dispatcher.parametersWorkaround o.g V4%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f#"J]p  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) { Fb*&|-n  
n)e 6>R ;  
struts.enable.DynamicMethodInvocation vHc%z$-d  
      Allows one to disable dynamic method invocation from the URL @#>rYAb8,  
        允许动态方法调用 SC!RbW@3  
 #ut  
struts.freemarker.manager.classname AW'0,b`v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Jk11fn;\>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 J T7nG.9  
G1tY)_-8[  
struts.i18n.encoding rjAn@!|:+  
      The encoding to use for localization messages T#Z^s~7&I  
      国际化信息内码 o5O#vW2Il&  
(k)v!O-  
struts.i18n.reload ww3-^v  
      Whether the localization messages should automatically be reloaded z`}qkbvi  
      是否国际化信息自动加载 1;8UC;,  
S-b/S5  
struts.locale EIAc@$4  
      The default locale for the Struts application M,,bf[p$  
      默认的国际化地区信息 SrJGTuXg  
-%CP@dAk  
struts.mapper.class Rz/gtEP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P[ck84F/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P {jbl!UD7  
{.|CdqwY  
struts.multipart.maxSize XS{Qnx_#  
      The maximize size of a multipart request (file upload) ,0Hr2*p  
      multipart请求信息的最大尺寸(文件上传用) fk>aqm7D!  
) 7@ `ut  
struts.multipart.parser h0f;F@I  
      The org.apache.struts2.dispatcher.multipart. ~?Pw& K2  
      MultiPartRequest parser implementation for a multipart request (file upload) 6OIte -c  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eA?RK.e  
fu ,}1Mq#  
qkY:3Ozw  
struts.multipart.saveDir :#ik. D  
      The directory to use for storing uploaded files nEy&>z  
      设置存储上传文件的目录夹 ,HV(l+k {|  
0<@KG8@hI;  
struts.objectFactory Yn Mvl  
      The com.opensymphony.xwork2.ObjectFactory implementation class <w9JRpFY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XJ\DVZ  
ncdKj}  
struts.objectFactory.spring.autoWire (OL4Ex']  
      Whether Spring should autoWire or not NB#OCH1/9  
      是否自动绑定Spring iB yf{I>+  
pRpBhm;iJ  
struts.objectFactory.spring.useClassCache djG*YM\B  
      Whether Spring should use its class cache or not  KC6.Fr{  
      是否spring应该使用自身的cache }?i0  I  
 `25yE/  
struts.objectTypeDeterminer 69NeQ$](  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w3_>VIZJl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }C?'BRX  
2\{M:\2o  
struts.serve.static.browserCache WDD%Q8ejV&  
If static content served by the Struts filter should set browser caching header properties or not itP,\k7>d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =BAr .m+"  
AKfDXy  
struts.serve.static ((;!<5-`s  
      Whether the Struts filter should serve static content or not Eyqa?$R  
      是否struts过滤器应该提供静态内容 @n /nH?L  
b\!_cb~"@  
struts.tag.altSyntax $( kF#  
      Whether to use the alterative syntax for the tags or not ]:-mbgW  
      是否可以用替代的语法替代tags M"Hf :9Rk  
k%#EEMh  
struts.ui.templateDir "Gzz4D  
      The directory containing UI templates lgy <?LI\  
      UI templates的目录夹 @Uvz8*b6  
s^9Voi.y  
struts.ui.theme Y\P8 v  
      The default UI template theme I;(L%TT `  
      默认的UI template主题 1n8/r}q'H  
[ l??A3G  
struts.url.http.port 9;u@q%;!k  
      The HTTP port used by Struts URLs ?e4YGOe.  
      设置http端口 t%)7t9j  
@b%=H/5\  
struts.url.https.port bsli0FJSh'  
      The HTTPS port used by Struts URLs _J#zY- j  
      设置https端口 lfgq=8d  
|syR6(U}  
struts.url.includeParams .`H5cuF`  
      The default includeParams method to generate Struts URLs lrE5^;/s1  
      在url中产生 默认的includeParams 8/#A!Ww]  
Pmx -8w  
)2o?#8J  
struts.velocity.configfile h7oo7AP  
      The Velocity configuration file path JPHL#sKyz  
      velocity配置文件路径 +3BN}  
^[`%&uj!g  
struts.velocity.contexts SKN`2hD  
      List of Velocity context names u c)eil  
      velocity的context列表 G~a ZJ,  
{}przrU^c  
&Z@o Q  
struts.velocity.manager.classname RbnVL$c  
      org.apache.struts2.views.velocity.VelocityManager implementation class N>`Aw^ _@&  
      org.apache.struts2.views.velocity.VelocityManager接口名 +Kc  
&r /Mi%  
struts.velocity.toolboxlocation $%d*@ 'c  
      The location of the Velocity toolbox T?0eVvM  
      velocity工具盒的位置 BDDlQci38  
struts.xslt.nocache vA{-{Q  
      Whether or not XSLT templates should not be cached F/{!tx  
      是否XSLT模版应该被缓存 T'9'G M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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