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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5'wWj}0!%  
l Os91+.%  
struts.action.extension I WKq_Zjkz  
      The URL extension to use to determine if the request is meant for a Struts action jsB%RvX  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =n .d'  
w%F~4|F  
struts.configuration  #v+ 2W  
      The org.apache.struts2.config.Configuration implementation class N\{Xhr7d  
        org.apache.struts2.config.Configuration接口名  @v &hr  
)(yD"]co  
struts.configuration.files ci*rem  
      A list of configuration files automatically loaded by Struts y(/"DUx  
      struts自动加载的一个配置文件列表 F!.Z@y P  
Qc1NLU9:  
struts.configuration.xml.reload KSkT6_<  
      Whether to reload the XML configuration or not ieuq9ah#  
      是否加载xml配置(true,false) :b t;DJ@  
Em8q1P$tm>  
struts.continuations.package BUB$k7{z  
      The package containing actions that use Rife continuations # 4UKkd  
      含有actions的完整连续的package名称 mU@pRjq=  
UW%zR5q  
struts.custom.i18n.resources 1;8=,&  
      Location of additional localization properties files to load D! TFb E  
      加载附加的国际化属性文件(不包含.properties后缀) ramYSX@  
]S!:p>R  
struts.custom.properties M ,!Dhuas  
      Location of additional configuration properties files to load 7L3:d7=MIW  
      加载附加的配置文件的位置 [`pp[J-~7  
sZ,xbfZby  
<% #Dwo}  
struts.devMode Ai>=n;  
      Whether Struts is in development mode or not iQs^2z#Bd  
      是否为struts开发模式 &w15 GO;4  
I)7STzlMj.  
struts.dispatcher.parametersWorkaround b>g&Pf#N!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xE>H:YPm  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y$JGpeq8w  
4z6i{n-k  
struts.enable.DynamicMethodInvocation _v=S4A#tF  
      Allows one to disable dynamic method invocation from the URL k*XI/k5Vc  
        允许动态方法调用 b,C2(?hg  
O_=2{k~s0  
struts.freemarker.manager.classname K9-;-{qb  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AzFd#P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8(d Hn  
0QJ :  
struts.i18n.encoding DpD19)ouy  
      The encoding to use for localization messages RHO | g0  
      国际化信息内码 |T`ZK?B+u  
c,@&Z#IZ`  
struts.i18n.reload |w; hu]  
      Whether the localization messages should automatically be reloaded {"kE u  
      是否国际化信息自动加载 Y=G9|7*lO  
.M(')$\U  
struts.locale >- S?rXO  
      The default locale for the Struts application /wAx#[c[  
      默认的国际化地区信息 Nk JOD3>U  
 9t$#!2z  
struts.mapper.class *Wbs{>&No  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [d"]AF[#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2Xw=kwu  
RBOb/.$  
struts.multipart.maxSize pg<m0g@W*;  
      The maximize size of a multipart request (file upload) #3VOC#.  
      multipart请求信息的最大尺寸(文件上传用) ht>C6y  
|:7 ^  
struts.multipart.parser {"v~1W)  
      The org.apache.struts2.dispatcher.multipart. FZFYwU\~.L  
      MultiPartRequest parser implementation for a multipart request (file upload) QK~44;LVIJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) FS'|e?WU  
8-#_xsZ^;  
ov3FKMG?  
struts.multipart.saveDir PI G3kJ  
      The directory to use for storing uploaded files nm#ISueh  
      设置存储上传文件的目录夹 y  J|/^qs  
1R-1#<a>&  
struts.objectFactory IvZ,|R?  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7{z\^R^O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @n|Mr/PAj  
*r)/Vx`S  
struts.objectFactory.spring.autoWire d9=i{i3  
      Whether Spring should autoWire or not r~[Bzw"c  
      是否自动绑定Spring nu(;yIRP  
Ppton+?(  
struts.objectFactory.spring.useClassCache mV>l`&K=  
      Whether Spring should use its class cache or not we("#s1=  
      是否spring应该使用自身的cache {{:QtkN  
9-/u _$  
struts.objectTypeDeterminer eW<|I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SAVA6 64  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !l(D0 C  
kJ'rtz4QO  
struts.serve.static.browserCache "1P[D'HV4|  
If static content served by the Struts filter should set browser caching header properties or not @1w[~QlV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `{KdmWhW  
QjlQsN!  
struts.serve.static !-veL1r  
      Whether the Struts filter should serve static content or not tFEY8ut{  
      是否struts过滤器应该提供静态内容 Iwx~kvz\_(  
P.y06^ X}A  
struts.tag.altSyntax 8P?p  
      Whether to use the alterative syntax for the tags or not <da-iY\5  
      是否可以用替代的语法替代tags .vnQZ*6  
En9>onJ  
struts.ui.templateDir `VrQ? s  
      The directory containing UI templates O7"16~ a  
      UI templates的目录夹 0SV<Pl^  
eF"k"Ckt'  
struts.ui.theme JT p+&NS  
      The default UI template theme ,+4*\yI3l  
      默认的UI template主题 x%'5 rnm|  
a.z)m} +  
struts.url.http.port |1pD n7  
      The HTTP port used by Struts URLs BROn2aSx%  
      设置http端口 rRvZG&k  
`Sx1?@8(  
struts.url.https.port =OeLF  
      The HTTPS port used by Struts URLs  ID]E3K  
      设置https端口 vbh 5  
L9$`zc  
struts.url.includeParams ["_+~*  
      The default includeParams method to generate Struts URLs gF>t+"+ x  
      在url中产生 默认的includeParams im3BQIPR  
cC*H.N  
<y=+Gh  
struts.velocity.configfile ,p>@:C/M  
      The Velocity configuration file path 0z$::p$%u  
      velocity配置文件路径 i+Lqj  
`m`Y3I  
struts.velocity.contexts %M*2j%6  
      List of Velocity context names RsW4 '5  
      velocity的context列表 vlqL  
Z8ds`KZM  
?j;,:n   
struts.velocity.manager.classname ~f:"Q(f+  
      org.apache.struts2.views.velocity.VelocityManager implementation class msVi3`q~  
      org.apache.struts2.views.velocity.VelocityManager接口名 {%oxzdPc  
D JZ$M  
struts.velocity.toolboxlocation sOO_J!bblP  
      The location of the Velocity toolbox - i#Kpf  
      velocity工具盒的位置 ny"z<N&}/  
struts.xslt.nocache  MwC}  
      Whether or not XSLT templates should not be cached x#XxD<y  
      是否XSLT模版应该被缓存 G ?Hx"3:?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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