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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 KL,/2 (  
d~J-|yyT  
struts.action.extension 9p* gU[  
      The URL extension to use to determine if the request is meant for a Struts action YIhm$A"z0"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +EXJ\wy  
Y*oDO$6  
struts.configuration uP $ Cj  
      The org.apache.struts2.config.Configuration implementation class [(kB 5 a  
        org.apache.struts2.config.Configuration接口名 yM.IxpT#$  
ZFm`UXS  
struts.configuration.files K kW;-{c  
      A list of configuration files automatically loaded by Struts -7H^n#]  
      struts自动加载的一个配置文件列表 EI>l-N2  
f_^1J  
struts.configuration.xml.reload m0w;8uF2UV  
      Whether to reload the XML configuration or not ~+X9g  
      是否加载xml配置(true,false) B<?[Mrdxw  
D B526O* [  
struts.continuations.package wBj-m  
      The package containing actions that use Rife continuations 2| iV,uJ&  
      含有actions的完整连续的package名称 \2-@'^i  
Yj|eji7y  
struts.custom.i18n.resources Vgb *% I  
      Location of additional localization properties files to load inb^$v  
      加载附加的国际化属性文件(不包含.properties后缀) 9I7\D8r  
}GMbBZ:nKK  
struts.custom.properties e1myH6$W  
      Location of additional configuration properties files to load %VJ85^B3  
      加载附加的配置文件的位置 lf<S_2i  
asiov[o;  
6d[_G$'nk  
struts.devMode gU^$Sx7'  
      Whether Struts is in development mode or not @:0ddb71  
      是否为struts开发模式 @!N-RQ&A  
_ZB\L^j)  
struts.dispatcher.parametersWorkaround 2aZw[7s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %_-zWVJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9h90huyKF  
-ezY= 0Q&  
struts.enable.DynamicMethodInvocation B5V_e!*5F*  
      Allows one to disable dynamic method invocation from the URL WF&[HKOy/  
        允许动态方法调用 JG[o"&Sd  
thi1kJ`L  
struts.freemarker.manager.classname qLL,F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AmPMY:1i"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 AE`We$!  
V3;.{0k  
struts.i18n.encoding ]?1Y e8>Y<  
      The encoding to use for localization messages SnlyUP~P  
      国际化信息内码 Pz#7h*;cw.  
9Ya<My  
struts.i18n.reload 1 2++RkL#  
      Whether the localization messages should automatically be reloaded up3O|lj4  
      是否国际化信息自动加载 1(Y7mM8\  
LH 3}d<{  
struts.locale .o1^Oh  
      The default locale for the Struts application B&+`)E{KB  
      默认的国际化地区信息 /iNa'W5\  
>SN|?|2U/  
struts.mapper.class 9Etz:?)b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iI@jZVk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .roqEasu8  
v8gdU7Ll,  
struts.multipart.maxSize (6CN/A{qe  
      The maximize size of a multipart request (file upload) E9|eu\  
      multipart请求信息的最大尺寸(文件上传用) n,HE0Zn]Y_  
,/&'m13b/L  
struts.multipart.parser l.\re"Q  
      The org.apache.struts2.dispatcher.multipart. ECdvX0*a  
      MultiPartRequest parser implementation for a multipart request (file upload) Tu{&v'!j6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :WI.LKlo~  
pMg3fUIM  
\;-fi.Hrf$  
struts.multipart.saveDir |6UtW{2I/  
      The directory to use for storing uploaded files [ xOzzp4  
      设置存储上传文件的目录夹 ;= j@, yu  
I$NhXZ)KT  
struts.objectFactory EV#MQM  
      The com.opensymphony.xwork2.ObjectFactory implementation class tkQH\5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =~Ynz7 /x  
.@-9'<K?~  
struts.objectFactory.spring.autoWire ML-)I&>tT  
      Whether Spring should autoWire or not |4mpohX  
      是否自动绑定Spring !Fw?H3X!"q  
KfBTL!0#  
struts.objectFactory.spring.useClassCache GLn{s  
      Whether Spring should use its class cache or not i&njqK!wS  
      是否spring应该使用自身的cache $@d9<83=  
HkV1sT  
struts.objectTypeDeterminer IX: 25CEI2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w{~+EolK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ms($9Lv/  
nzjkX4KV  
struts.serve.static.browserCache O%1v) AT&\  
If static content served by the Struts filter should set browser caching header properties or not *19ax&|*S  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 < v]3g  
<R%;~){  
struts.serve.static 6Ao%>;e*  
      Whether the Struts filter should serve static content or not B QcE9~H  
      是否struts过滤器应该提供静态内容 JG C=(;  
kyAXRwzI  
struts.tag.altSyntax O3N0YGhJ  
      Whether to use the alterative syntax for the tags or not I$Qs;- (  
      是否可以用替代的语法替代tags @prG%vb"  
4`Q3v4fOF  
struts.ui.templateDir ;fw1  
      The directory containing UI templates {X2`&<i6  
      UI templates的目录夹 BR'I+lQ  
,BFE=:ZIK  
struts.ui.theme !zPG? q]3  
      The default UI template theme "dR |[a<#g  
      默认的UI template主题 $M_x!f'{>  
|/g W_;(  
struts.url.http.port -~eJn'W  
      The HTTP port used by Struts URLs d!KsNkk  
      设置http端口 1Z[/KJ  
| K?#$~  
struts.url.https.port vA$o~?a]/  
      The HTTPS port used by Struts URLs 7'wS\/e4a  
      设置https端口 rC:?l(8ng3  
L,d LE-L  
struts.url.includeParams S$f6a'  
      The default includeParams method to generate Struts URLs <<D$+@wxm  
      在url中产生 默认的includeParams =n^!VXaL]]  
$^&ig  
[Q\GxX.  
struts.velocity.configfile ?u4INZ0W  
      The Velocity configuration file path 2=?tJ2E  
      velocity配置文件路径 ^:9$@ +a  
#j@71]GI  
struts.velocity.contexts 5TBp'7 /s~  
      List of Velocity context names :{NC-%4o0  
      velocity的context列表 <Sz52Suh>  
h' !imQ  
\%sVHt`c  
struts.velocity.manager.classname ,>t69 Ad  
      org.apache.struts2.views.velocity.VelocityManager implementation class \#68;)+=  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ku&!?m@C  
%/>xO3"T  
struts.velocity.toolboxlocation b 1&i#I?{  
      The location of the Velocity toolbox K^_i%~  
      velocity工具盒的位置 9]t[J_YM  
struts.xslt.nocache "cTncL  
      Whether or not XSLT templates should not be cached [-&L8Un  
      是否XSLT模版应该被缓存 7_2kDDW0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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