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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !MQVtn^C#  
C,nU.0  
struts.action.extension ]%Z7wF</  
      The URL extension to use to determine if the request is meant for a Struts action pX]"^f1?O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >0.a#-u^  
?$0t @E  
struts.configuration 8 ;o*c6+  
      The org.apache.struts2.config.Configuration implementation class j2Uu8.8d  
        org.apache.struts2.config.Configuration接口名 ;'4 HR+E"  
~<q^4w.=7C  
struts.configuration.files (K3eb  
      A list of configuration files automatically loaded by Struts = `oGH  
      struts自动加载的一个配置文件列表 <F<jx"/)  
%M u$0~ct"  
struts.configuration.xml.reload l|5;&(Y+s  
      Whether to reload the XML configuration or not B dKD%CJ[  
      是否加载xml配置(true,false) @"'$e_jj"  
.fD%*-  
struts.continuations.package ZA.i\ ;2  
      The package containing actions that use Rife continuations R>dd#`r"  
      含有actions的完整连续的package名称 2~RG\JWTA  
.Fm@OQr  
struts.custom.i18n.resources #Hi$squJ  
      Location of additional localization properties files to load Bf{c4YiF  
      加载附加的国际化属性文件(不包含.properties后缀) QV9 z81[  
jRNDi_u?Wb  
struts.custom.properties eGQ -Ht,N  
      Location of additional configuration properties files to load B:=VMX~GE  
      加载附加的配置文件的位置 Bd>a"3fA  
p5JRG2zt  
%rq/&#jC  
struts.devMode =Bw2{]w  
      Whether Struts is in development mode or not d{*e0  
      是否为struts开发模式 T7~Vk2o%(  
DBk]2W|i  
struts.dispatcher.parametersWorkaround POt 8G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vbSycZ2M7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o2W^!#]=  
! ,&{1p  
struts.enable.DynamicMethodInvocation =uD^#AX  
      Allows one to disable dynamic method invocation from the URL 6uKS!\EY|  
        允许动态方法调用 ;cp,d~mrf  
\TnRn(Kw  
struts.freemarker.manager.classname R;`C;Rbf  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wi@Qf6(mn  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h #(J6ht  
l-<EG9m@  
struts.i18n.encoding C5x*t Q|  
      The encoding to use for localization messages  7 j8Ou3  
      国际化信息内码 x f<wM]&  
sX,S]:X  
struts.i18n.reload %2^wyVkq:  
      Whether the localization messages should automatically be reloaded ?OF9{$m3?  
      是否国际化信息自动加载 =U,mzY (  
yrQf PR  
struts.locale s0*@zn>h  
      The default locale for the Struts application j-TRa,4bN  
      默认的国际化地区信息 *m*sg64Zw  
+wxDK A_  
struts.mapper.class u?I2|}#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l" +q&3Zx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .T\_4C  
@23~)uiZa  
struts.multipart.maxSize R/Z zmb{  
      The maximize size of a multipart request (file upload) ?z0N- A2C2  
      multipart请求信息的最大尺寸(文件上传用) e]-%P(}Z  
]oxi~TwY^  
struts.multipart.parser 4rrR;V"}  
      The org.apache.struts2.dispatcher.multipart. ]..7t|^b&  
      MultiPartRequest parser implementation for a multipart request (file upload) 'mO>hD`V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =SV b k  
Js/QL=,  
tZan1C%p>  
struts.multipart.saveDir <BjrW]pM  
      The directory to use for storing uploaded files ][`%vj9r  
      设置存储上传文件的目录夹 E_T!|Q.  
@^Yr=d ba  
struts.objectFactory a9y+FCA  
      The com.opensymphony.xwork2.ObjectFactory implementation class t$g@+1p4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3 @%XR8ss  
<d~si^*\ch  
struts.objectFactory.spring.autoWire ?tx."MZ  
      Whether Spring should autoWire or not j9~lf  
      是否自动绑定Spring ]Gf`nJDV  
xq<X:\O  
struts.objectFactory.spring.useClassCache cV:Ak~PKl  
      Whether Spring should use its class cache or not |&U{ z?  
      是否spring应该使用自身的cache 2B"&WKk  
frT<9$QUL  
struts.objectTypeDeterminer y-N]{!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Fx )BMP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -Pc6W9$  
aKz:hG  
struts.serve.static.browserCache y3OF+;E  
If static content served by the Struts filter should set browser caching header properties or not vp(ow]Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ticx]_+~T  
bW^C30m  
struts.serve.static {BzE  
      Whether the Struts filter should serve static content or not 0sI7UK`m  
      是否struts过滤器应该提供静态内容 b)@rp  
uF+0nv+  
struts.tag.altSyntax _ o.j({S  
      Whether to use the alterative syntax for the tags or not L :Ldk  
      是否可以用替代的语法替代tags n50W HlMtt  
:B:6ezDF6  
struts.ui.templateDir SM\qd4  
      The directory containing UI templates nM|F MK^  
      UI templates的目录夹 Vh N6 oI  
EO%"[k  
struts.ui.theme '9!J' [W  
      The default UI template theme J?C:@Q  
      默认的UI template主题 Vrs?VA`v$  
qyP={E9A  
struts.url.http.port ZlP+t>  
      The HTTP port used by Struts URLs MI)v@_1d  
      设置http端口 U=PTn(2  
^@^K <SVc  
struts.url.https.port `T{'ufI4B  
      The HTTPS port used by Struts URLs hlmeT9v{  
      设置https端口 @MO/LvD  
V.Tn1i-v  
struts.url.includeParams PU8dr|!  
      The default includeParams method to generate Struts URLs )6(|A$~C+  
      在url中产生 默认的includeParams 3,-[lG@o  
>:HmIW0PLe  
[Qcht,\^v  
struts.velocity.configfile Z@} qL1  
      The Velocity configuration file path bvS6xU- J  
      velocity配置文件路径 3~:9ZWQ/  
N-W>tng_x  
struts.velocity.contexts H$.K   
      List of Velocity context names LVT:oIQ  
      velocity的context列表 0o!mlaU#  
8Qhj_  
Xw3j(`w$,  
struts.velocity.manager.classname a |#TnSk  
      org.apache.struts2.views.velocity.VelocityManager implementation class HoK+g_9~  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]kd:p*U6P  
N(V_P[]"*,  
struts.velocity.toolboxlocation aa" 3 Io  
      The location of the Velocity toolbox A9;,y'm^8  
      velocity工具盒的位置 $O%"[w  
struts.xslt.nocache sou~m,#  
      Whether or not XSLT templates should not be cached SDB \6[D  
      是否XSLT模版应该被缓存 Bj<s!}i{[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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