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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 XMuZ 'I  
"BEU%,w  
struts.action.extension 4yjAi@ /2  
      The URL extension to use to determine if the request is meant for a Struts action _3ZZ-=J:=*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'L=g(  
E-n!3RQ(w  
struts.configuration l1!i3m'x  
      The org.apache.struts2.config.Configuration implementation class c-`&e-~XKL  
        org.apache.struts2.config.Configuration接口名 Br-bUoua  
J]$%1Y  
struts.configuration.files hLO nX<%a  
      A list of configuration files automatically loaded by Struts ]_5C5m  
      struts自动加载的一个配置文件列表 jj.)$|&#`  
d0 |Q1R+3  
struts.configuration.xml.reload D*_ F@}=  
      Whether to reload the XML configuration or not /l@7MxE  
      是否加载xml配置(true,false) :90DS_4  
$g 5pKk  
struts.continuations.package Rm6<"SLV  
      The package containing actions that use Rife continuations "PnYa)?1  
      含有actions的完整连续的package名称 _U'edK]R  
qC IZW  
struts.custom.i18n.resources SyTcp?H  
      Location of additional localization properties files to load TlAY=JwW  
      加载附加的国际化属性文件(不包含.properties后缀) FVL0K(V(  
"xYMv"X  
struts.custom.properties {}vW=  
      Location of additional configuration properties files to load W@/D2K(  
      加载附加的配置文件的位置 wG19NX(  
4W$53LP8  
rHN>fySn7  
struts.devMode %`%1W MO  
      Whether Struts is in development mode or not 7dN]OUdi  
      是否为struts开发模式 RrGS$<  
_MnMT9  
struts.dispatcher.parametersWorkaround kU4Zij-O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Cl i k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) '[:].?M  
&V iIxJZ1$  
struts.enable.DynamicMethodInvocation V?%>Ex$  
      Allows one to disable dynamic method invocation from the URL "RZ)pav?  
        允许动态方法调用 J:p nmZ`X  
>P+V!-%#  
struts.freemarker.manager.classname >q4nQ/eP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oa47TqFt  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Hya*7l']B  
;I]TM#qGF  
struts.i18n.encoding Hm1C|Qb  
      The encoding to use for localization messages @v@'8E Q  
      国际化信息内码 '}LH,H:%G  
&<k )W  
struts.i18n.reload F0]= z-  
      Whether the localization messages should automatically be reloaded E70  
      是否国际化信息自动加载 ]';!r20  
9JP{F  
struts.locale 7{/qQGL  
      The default locale for the Struts application Z A7u66  
      默认的国际化地区信息 R4p bi=  
UV@<55)K  
struts.mapper.class ?RrJYj1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Za4 YD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C n4|qX"&t  
U#@:"v|  
struts.multipart.maxSize Q y$8!(  
      The maximize size of a multipart request (file upload) >8 VfijK  
      multipart请求信息的最大尺寸(文件上传用) \ssuO  
]Cbht\Ag"  
struts.multipart.parser +oe ~j\=  
      The org.apache.struts2.dispatcher.multipart. S &cH1QZ  
      MultiPartRequest parser implementation for a multipart request (file upload) [Zi\L>PHO  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vqv(KsD+::  
>PL/>   
`hI1  
struts.multipart.saveDir g oWD~'\  
      The directory to use for storing uploaded files g`3g#h$  
      设置存储上传文件的目录夹 TDy@Y> )  
dax|4R  
struts.objectFactory eAm7*2  
      The com.opensymphony.xwork2.ObjectFactory implementation class &Lk@Xq1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Sg')w1  
[uZU p*.V  
struts.objectFactory.spring.autoWire />.&  
      Whether Spring should autoWire or not 3l<)|!f]g  
      是否自动绑定Spring st/Tb/  
DlfXzKn;  
struts.objectFactory.spring.useClassCache W>;AMun  
      Whether Spring should use its class cache or not SJIJV6}H  
      是否spring应该使用自身的cache $(#o)r>_R  
T|ZT&x$z  
struts.objectTypeDeterminer .oAg (@^6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &=@ R,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N~Ax78TX  
4$SW~BpQ  
struts.serve.static.browserCache rS)7D  
If static content served by the Struts filter should set browser caching header properties or not w.^k':,"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z&cfFx#h)  
ely&'y!  
struts.serve.static wp.'M?6`L  
      Whether the Struts filter should serve static content or not m6+2r D  
      是否struts过滤器应该提供静态内容 PY)C=={p  
si%f.A#  
struts.tag.altSyntax F''4j8  
      Whether to use the alterative syntax for the tags or not -V_e=Y<J/  
      是否可以用替代的语法替代tags P^VV8Z>\&  
HgduH::\#  
struts.ui.templateDir *l_1T4]S  
      The directory containing UI templates  2Np9*[C  
      UI templates的目录夹 0z.`  
x/bO;9E%U4  
struts.ui.theme AUzJ:([V  
      The default UI template theme ww+XE2,  
      默认的UI template主题 Lu1>A {et  
_S@s  
struts.url.http.port >(:KEA  
      The HTTP port used by Struts URLs - uliND  
      设置http端口 )1lYfJ  
0`,a@Q4  
struts.url.https.port &'T7 ~M:  
      The HTTPS port used by Struts URLs ++Az~{W7  
      设置https端口 gaTI:SKzc  
h#;fBQ]   
struts.url.includeParams 7-6_`Q2}Y  
      The default includeParams method to generate Struts URLs $?wX*  
      在url中产生 默认的includeParams #^xiv/ sV  
Kd7OnU  
Ca?pK_Y  
struts.velocity.configfile 2R:['QT  
      The Velocity configuration file path NVJvCs)3f  
      velocity配置文件路径 "AUY+ LN  
^9qncvV  
struts.velocity.contexts |F9/7 z\5+  
      List of Velocity context names B@.U\.  
      velocity的context列表 w}oH]jVKL6  
A-c3B+  
p.8G]pS  
struts.velocity.manager.classname }SUe 4r&4}  
      org.apache.struts2.views.velocity.VelocityManager implementation class jpOi Eo  
      org.apache.struts2.views.velocity.VelocityManager接口名 > *vI:MG8  
j31 Sc3vG  
struts.velocity.toolboxlocation l$)pCo  
      The location of the Velocity toolbox k NK)mE  
      velocity工具盒的位置 jO!!. w  
struts.xslt.nocache ?6tuo:gP  
      Whether or not XSLT templates should not be cached T"dWrtO  
      是否XSLT模版应该被缓存 ,f} s!>j  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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