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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %+/Dv  
ubRhJ~XB  
struts.action.extension ) ]DqK<-  
      The URL extension to use to determine if the request is meant for a Struts action 0s79rJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m^ Epw4eg  
4U~'Oa @p  
struts.configuration e=3C*+lq\  
      The org.apache.struts2.config.Configuration implementation class IwRP,MQ~  
        org.apache.struts2.config.Configuration接口名 rgDl%X2B  
g#`}HuPoE  
struts.configuration.files e4|a^lS;  
      A list of configuration files automatically loaded by Struts c-_1tSh}  
      struts自动加载的一个配置文件列表 P+BGCc%);B  
X&IT  s  
struts.configuration.xml.reload LH.Gf  
      Whether to reload the XML configuration or not TU': Rt  
      是否加载xml配置(true,false) {{?MO{Mh*  
|=07n K2  
struts.continuations.package bR,Es~n  
      The package containing actions that use Rife continuations \iaZV.#f  
      含有actions的完整连续的package名称  A@9\Qd  
c91^7@Xv  
struts.custom.i18n.resources %|D) U>o{  
      Location of additional localization properties files to load =CO) Q2  
      加载附加的国际化属性文件(不包含.properties后缀) B!&y>Z^$  
K1o>>388G  
struts.custom.properties r+h%a~A#>  
      Location of additional configuration properties files to load Xu E' %;:  
      加载附加的配置文件的位置 -<9Qez)y  
}zxf~4 1  
P&=YLL<W  
struts.devMode &*Xrh7K2e  
      Whether Struts is in development mode or not d2d8,Vg  
      是否为struts开发模式 nCQ".G  
`\|tXl.  
struts.dispatcher.parametersWorkaround [oXSjLQm[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'IFA>}e7W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?PqkC&o[q  
ZjY,k  
struts.enable.DynamicMethodInvocation ^$}O?y7O  
      Allows one to disable dynamic method invocation from the URL k`&FyN^)  
        允许动态方法调用 }V*?~.R  
`Tf}h8*  
struts.freemarker.manager.classname ` &bF@$((  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kvuRT`/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6212*Z_Af  
'n>44_7L  
struts.i18n.encoding %hN(79:g  
      The encoding to use for localization messages ,i|K} Y&  
      国际化信息内码 }EYmz/nN  
:5$ErI  
struts.i18n.reload ID`Ot{ y  
      Whether the localization messages should automatically be reloaded lJN#_V0qW  
      是否国际化信息自动加载 dNY'uv&Y  
Thu_`QP^  
struts.locale ~5h4 Gy)  
      The default locale for the Struts application =+b>d\7xG  
      默认的国际化地区信息 S>r}3,]S  
YtKT3u:x  
struts.mapper.class pUS:HJk|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4`mf^K f  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ph%ylS/T{  
{[`(o 0@(  
struts.multipart.maxSize (+;D~iN`k  
      The maximize size of a multipart request (file upload) [[]y Q "  
      multipart请求信息的最大尺寸(文件上传用) -G@uB_Cs  
6P}?+ Gc  
struts.multipart.parser ~k-'  
      The org.apache.struts2.dispatcher.multipart. %rJDpB{  
      MultiPartRequest parser implementation for a multipart request (file upload) <bo^uw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #pgD-0_  
.P7q)lj36h  
' `c \Dq  
struts.multipart.saveDir f3qR7%X?  
      The directory to use for storing uploaded files Er|&4-9  
      设置存储上传文件的目录夹 &bfM`h'  
qo 7<g*kf~  
struts.objectFactory Mpyza%zj  
      The com.opensymphony.xwork2.ObjectFactory implementation class !/tV}.*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }No#_{  
R.2i%cU  
struts.objectFactory.spring.autoWire 8{!|` b'f  
      Whether Spring should autoWire or not -?:8s v*X  
      是否自动绑定Spring 1Az&BZU[  
qTRP2rH,L&  
struts.objectFactory.spring.useClassCache h.]^o*DJ  
      Whether Spring should use its class cache or not SmD#hE[  
      是否spring应该使用自身的cache \)wVO*9*0  
v;5-1  
struts.objectTypeDeterminer Q]GS#n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ks("( nU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wJJ|]^0.  
p>\[[Md  
struts.serve.static.browserCache p/Q< VV  
If static content served by the Struts filter should set browser caching header properties or not j^8HTa0Cy|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wBg?-ji3<  
{d'B._#i  
struts.serve.static ?lgE9I]  
      Whether the Struts filter should serve static content or not r>|S4O  
      是否struts过滤器应该提供静态内容 CQ<d  
Ye4 &4t  
struts.tag.altSyntax tDah@_  
      Whether to use the alterative syntax for the tags or not `>g\gaQ  
      是否可以用替代的语法替代tags 3BGcDyYE  
dc4XX5Z  
struts.ui.templateDir aM1WC 'c&)  
      The directory containing UI templates Qj1%'wWG  
      UI templates的目录夹 *0@Z+'M?  
jg'"?KSU~  
struts.ui.theme f. >[ J  
      The default UI template theme T"3LO[j+  
      默认的UI template主题 bv(+$YR  
 0%,W5w  
struts.url.http.port Fje /;p  
      The HTTP port used by Struts URLs '_Pb\ jK  
      设置http端口 4clCZ@\K^  
Fw(  
struts.url.https.port YGM7?o  
      The HTTPS port used by Struts URLs p=eSJ*  
      设置https端口 "k  
;nbEV2Y<  
struts.url.includeParams e@vZg8Ie  
      The default includeParams method to generate Struts URLs g#l!b%$  
      在url中产生 默认的includeParams 35AH|U7b  
tC$+;_=+F  
j|o/>^ 'e  
struts.velocity.configfile ? eI)m  
      The Velocity configuration file path N4-Y0BO  
      velocity配置文件路径 .Wp(@l'Hd  
| B$JX'_  
struts.velocity.contexts *gGw/jA/  
      List of Velocity context names Lw^%<.DM+t  
      velocity的context列表 QD^=;!  
d/3&3>/  
{[NQD3=+F  
struts.velocity.manager.classname 1yU!rEH  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0{o 8-#  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;YQ6X>  
Yu&\a?]\2  
struts.velocity.toolboxlocation FU}- .Ki  
      The location of the Velocity toolbox QJkiu8r  
      velocity工具盒的位置 F3Da-6T@  
struts.xslt.nocache _3f/lG?&-  
      Whether or not XSLT templates should not be cached 1uA-!T*e>  
      是否XSLT模版应该被缓存 Ly, ];  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五