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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6^['g-\2  
+D1;_DU  
struts.action.extension R+Ke|C  
      The URL extension to use to determine if the request is meant for a Struts action Arz> P@EQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )zt*am;  
c*!bT$]~\  
struts.configuration 2P9hx5PiV  
      The org.apache.struts2.config.Configuration implementation class G:' -|h  
        org.apache.struts2.config.Configuration接口名 Lm'Ony^F  
q{c6DCc]\  
struts.configuration.files wmY6&^?uS  
      A list of configuration files automatically loaded by Struts GVY_u@6   
      struts自动加载的一个配置文件列表 Jx_ OT C  
z;'"c3qG8  
struts.configuration.xml.reload ~v9\4O  
      Whether to reload the XML configuration or not L4S Fu.J'  
      是否加载xml配置(true,false) &#g;=jZ  
RsVba!x@  
struts.continuations.package m+DkO{8F  
      The package containing actions that use Rife continuations `-Gs*#(/  
      含有actions的完整连续的package名称 ImklM7A  
?mRU9VY  
struts.custom.i18n.resources =5^L_, 4c2  
      Location of additional localization properties files to load sKjg)3Sl  
      加载附加的国际化属性文件(不包含.properties后缀) S! ,.#e(Y  
|)pT"`  
struts.custom.properties N+!{Bt*  
      Location of additional configuration properties files to load CbS9fc&  
      加载附加的配置文件的位置 sP5PYNspA  
<JYV G9s}  
]t7<$L   
struts.devMode Hc^b}A y7  
      Whether Struts is in development mode or not bbiDY  
      是否为struts开发模式 ]_|qv1K6  
H <F6o-*  
struts.dispatcher.parametersWorkaround OMO.-p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 04:^<n+{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kP6g0,\|a|  
|nz,srr~  
struts.enable.DynamicMethodInvocation 292e0cE  
      Allows one to disable dynamic method invocation from the URL N$>g)Ml?  
        允许动态方法调用 *"O7ml]  
uQ9P6w=Nt  
struts.freemarker.manager.classname 6BLw 4m=h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /S\P=lcb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^#lPXC Bg  
9dJARSUuF  
struts.i18n.encoding noOG$P#  
      The encoding to use for localization messages ,V.X-`Y  
      国际化信息内码 ~e ]83?  
uUwwR(R  
struts.i18n.reload )@\= pE.H  
      Whether the localization messages should automatically be reloaded k1_f7_m  
      是否国际化信息自动加载 z[}[:H8  
1nX/5z_U  
struts.locale [[Qu|?KEa  
      The default locale for the Struts application <8+.v6DCd  
      默认的国际化地区信息 k[gO>UGB;  
dilRL,  
struts.mapper.class oh:g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HKb8z@;%@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tO)mKN+ (  
qOV#$dkY  
struts.multipart.maxSize ;l7wme8Qk  
      The maximize size of a multipart request (file upload) *(PGL YK  
      multipart请求信息的最大尺寸(文件上传用) I|n<B"Q6^  
%'%ej^s-R  
struts.multipart.parser ]j~V0 1p/e  
      The org.apache.struts2.dispatcher.multipart. 1ePZs$  
      MultiPartRequest parser implementation for a multipart request (file upload) #K"jtAm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ym8G=KA  
)d2 <;c  
T7'njaLec  
struts.multipart.saveDir .`)\GjDv  
      The directory to use for storing uploaded files 1*Yf[;L  
      设置存储上传文件的目录夹 :0Rd )*k,v  
 -*_D!  
struts.objectFactory R/Mwq#xUb  
      The com.opensymphony.xwork2.ObjectFactory implementation class C;1A$]bk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %r=uS.+hrF  
\rF6"24t6  
struts.objectFactory.spring.autoWire |ITp$  _S  
      Whether Spring should autoWire or not \|F4@  
      是否自动绑定Spring <IC=x(T  
Q&opnvN  
struts.objectFactory.spring.useClassCache +%OINMo.A  
      Whether Spring should use its class cache or not E5~HH($b  
      是否spring应该使用自身的cache r1\c{5Wt  
TUw^KSa  
struts.objectTypeDeterminer zcF~6-aQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jr|(K*;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w4Qqo(  
h3Nwxj~E  
struts.serve.static.browserCache Hzcy '  
If static content served by the Struts filter should set browser caching header properties or not 9z$]hl  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "o 2p|2c  
AjKP -[  
struts.serve.static w},' 1  
      Whether the Struts filter should serve static content or not @zL)R b%P$  
      是否struts过滤器应该提供静态内容 s:'M[xI  
K_{f6c<  
struts.tag.altSyntax h$F;=YS   
      Whether to use the alterative syntax for the tags or not %<lfe<;^t  
      是否可以用替代的语法替代tags ,24NMv7  
}zY)H9J~  
struts.ui.templateDir *;"N kCf  
      The directory containing UI templates 8c(}*,O/  
      UI templates的目录夹 7!+kyA\}r^  
(~:k70V5  
struts.ui.theme +c.A|!-  
      The default UI template theme PVP,2Yq!  
      默认的UI template主题 Tf7$PSupP  
(# Z2  
struts.url.http.port \{AxDk{z#  
      The HTTP port used by Struts URLs jb~a z  
      设置http端口 WMnR+?q  
+-&N<U  
struts.url.https.port !sQ$a#Ea  
      The HTTPS port used by Struts URLs ?v-IN  
      设置https端口 }YW0?-G.$  
,Xs%Cg_Ig  
struts.url.includeParams jCDZ$W89  
      The default includeParams method to generate Struts URLs *vc=>AEc  
      在url中产生 默认的includeParams RIOR%~U  
|:$D[=  
CP_ ?DyWU  
struts.velocity.configfile 9r-]@6;  
      The Velocity configuration file path _ I8L#4\(=  
      velocity配置文件路径 -CfGWO#Gbx  
1|bu0d\]  
struts.velocity.contexts sfNXIEr^  
      List of Velocity context names h>-JXuN  
      velocity的context列表 lc>)7UF  
5W"nn  
|7n&I`#  
struts.velocity.manager.classname Zq=t&$*  
      org.apache.struts2.views.velocity.VelocityManager implementation class L@2%a'  
      org.apache.struts2.views.velocity.VelocityManager接口名 K-IXAdx  
rLs)*A!  
struts.velocity.toolboxlocation Ni*f1[sI<  
      The location of the Velocity toolbox 3p{N7/z(  
      velocity工具盒的位置 6NH.!}"G9  
struts.xslt.nocache `<kHNcm  
      Whether or not XSLT templates should not be cached fI>>w)5  
      是否XSLT模版应该被缓存 s|Ls  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五