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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~tt\^:\3~S  
RqGX(Iuv  
struts.action.extension /{`"X_.o  
      The URL extension to use to determine if the request is meant for a Struts action KcpYHWCa.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *E/ Mf  
"Kp#Lx  
struts.configuration 3: WEODV2  
      The org.apache.struts2.config.Configuration implementation class RG'76?z  
        org.apache.struts2.config.Configuration接口名 VqV[ @[P  
m{=Q88k!@.  
struts.configuration.files {eI'0==  
      A list of configuration files automatically loaded by Struts C{pOGc@  
      struts自动加载的一个配置文件列表 QK+,63@D\=  
x1#>"z7  
struts.configuration.xml.reload H}5WglV.  
      Whether to reload the XML configuration or not m!Z<\2OP  
      是否加载xml配置(true,false) :=;{w~D  
0=3)`v{S@  
struts.continuations.package GnW MI1$  
      The package containing actions that use Rife continuations pg4pfi^__V  
      含有actions的完整连续的package名称 \H:T)EVy  
^_|kEvk0  
struts.custom.i18n.resources hI!BX};+}  
      Location of additional localization properties files to load #l4T/`u'9!  
      加载附加的国际化属性文件(不包含.properties后缀) =?.oH|&\h  
wxo  
struts.custom.properties 3._ ep  
      Location of additional configuration properties files to load : gU5CUm  
      加载附加的配置文件的位置 \\<=J[R.M  
2L1 ,;  
w'(/dr  
struts.devMode `e =IXkt  
      Whether Struts is in development mode or not n_km]~  
      是否为struts开发模式 $N)G:=M!s  
xt5/`C  
struts.dispatcher.parametersWorkaround rMxIujx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D;V[9E=g/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \6SjJ]o>  
s/IsrcfM  
struts.enable.DynamicMethodInvocation H"l4b4)N\  
      Allows one to disable dynamic method invocation from the URL F =e9o*z  
        允许动态方法调用 %|(c?`2|  
~\CS%thX  
struts.freemarker.manager.classname 70c]|5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U*$P"sS`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BM,hcT r?  
E@ U]k$M  
struts.i18n.encoding Z{0BH{23  
      The encoding to use for localization messages EYq?NL='  
      国际化信息内码 c("|xe  
8O,\8:I#  
struts.i18n.reload |g3:+&  
      Whether the localization messages should automatically be reloaded R}Lk$#S#  
      是否国际化信息自动加载 ]WDmx$"&e  
1^WGJ"1  
struts.locale \QK@wgu  
      The default locale for the Struts application M-"j8:en  
      默认的国际化地区信息 AYA{_^#+3  
MJ)lZ!KZ  
struts.mapper.class H>EM3cFU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U8Y%rFh1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %vJHr!x  
.r<a Py$  
struts.multipart.maxSize qLDj\%~(  
      The maximize size of a multipart request (file upload) fkzSX8a9}  
      multipart请求信息的最大尺寸(文件上传用) ]5Uuz?:e  
?J\&yJ_B  
struts.multipart.parser 9b+jT{Tg  
      The org.apache.struts2.dispatcher.multipart. >S +}  
      MultiPartRequest parser implementation for a multipart request (file upload) {q0+PzgP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) PdcIHN  
FXof9fa_B  
!LN8=u.  
struts.multipart.saveDir YvU%OO-+,  
      The directory to use for storing uploaded files i?6&4  
      设置存储上传文件的目录夹 ~$HB}/  
M5`v^>  
struts.objectFactory t/i I!}  
      The com.opensymphony.xwork2.ObjectFactory implementation class ff#7}9_mh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uk?G1]$mL  
pr0X7 #_E5  
struts.objectFactory.spring.autoWire h:%,>I%{  
      Whether Spring should autoWire or not JtL> mH  
      是否自动绑定Spring J6Z[c*W  
XNYA\%:5S  
struts.objectFactory.spring.useClassCache n$/|r  
      Whether Spring should use its class cache or not (0$~T}lH  
      是否spring应该使用自身的cache 7Q .Su  
/Y7^!3uM  
struts.objectTypeDeterminer 6 R6Ub 0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }Ce9R2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 uk):z$ x  
;p(h!4E  
struts.serve.static.browserCache N"S`9B1eD(  
If static content served by the Struts filter should set browser caching header properties or not r6DLShP-Ur  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uwNJM  
!m@cTB7i   
struts.serve.static ZoG@"vr2  
      Whether the Struts filter should serve static content or not e HphM;C  
      是否struts过滤器应该提供静态内容 HXLnjXoe  
L< F8+a7i  
struts.tag.altSyntax C(N' =-;Kl  
      Whether to use the alterative syntax for the tags or not kuEXNi1l  
      是否可以用替代的语法替代tags "<CM 'R  
%F*9D3^h  
struts.ui.templateDir VeA@HC`?"  
      The directory containing UI templates Xoe|]@U`  
      UI templates的目录夹 n ay\)  
^h[6{F~J  
struts.ui.theme uJ% <+I  
      The default UI template theme BlVHP8/b  
      默认的UI template主题 +IdM|4$\1  
|L<JOQ  
struts.url.http.port k<9,Ypa  
      The HTTP port used by Struts URLs q*hn5K*  
      设置http端口 x@ -K  
-KiPqE%&G  
struts.url.https.port S:xXD^n#H  
      The HTTPS port used by Struts URLs 0Wr<l%M)+  
      设置https端口 y,D9O/VP  
,1]UOQ>AP  
struts.url.includeParams JX59n%$@  
      The default includeParams method to generate Struts URLs 529; _|  
      在url中产生 默认的includeParams VUP|j/qD  
FnGKt\  
49qa  
struts.velocity.configfile 1[egCC\Mo_  
      The Velocity configuration file path @2Z|\ojJ  
      velocity配置文件路径 mF6-f#t>H+  
i~!g9o(  
struts.velocity.contexts e,(Vy  
      List of Velocity context names 1 iH@vd  
      velocity的context列表 _}{KS, f]0  
# qd!_oN  
z teu{0  
struts.velocity.manager.classname m#+0m!  
      org.apache.struts2.views.velocity.VelocityManager implementation class Qf:e;1F!  
      org.apache.struts2.views.velocity.VelocityManager接口名  hb[ThQ  
*l7 `C)  
struts.velocity.toolboxlocation %`C e#b()'  
      The location of the Velocity toolbox {z oGwB  
      velocity工具盒的位置 KXWcg#zFY  
struts.xslt.nocache |~9jO/&r  
      Whether or not XSLT templates should not be cached A}(xH`A  
      是否XSLT模版应该被缓存 XpAJP++  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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