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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Mro4`GL  
{!ZyCi19  
struts.action.extension r'/;O  
      The URL extension to use to determine if the request is meant for a Struts action #$S}3 o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @z6!a  
i;\s.wrzH  
struts.configuration 'iSAAwT2aj  
      The org.apache.struts2.config.Configuration implementation class 4z7G2  
        org.apache.struts2.config.Configuration接口名 n_[i0x7#  
Dkw%`(Oh/,  
struts.configuration.files O[~x_xeW  
      A list of configuration files automatically loaded by Struts S{F-ttS"  
      struts自动加载的一个配置文件列表 4Tzd; P6_  
3{raKM6F  
struts.configuration.xml.reload !&kL9A).  
      Whether to reload the XML configuration or not (Ha@s^?.C  
      是否加载xml配置(true,false) UyYfpL"$A"  
_cJ[ FP1  
struts.continuations.package 9~AWng  
      The package containing actions that use Rife continuations /  YiQ\  
      含有actions的完整连续的package名称 _68BP)nz>.  
4Wel[]  
struts.custom.i18n.resources U SOKDDm  
      Location of additional localization properties files to load yFIy`9R  
      加载附加的国际化属性文件(不包含.properties后缀) 6y+b5-{'  
wjU.W5IR  
struts.custom.properties UP1?5Q=H]Q  
      Location of additional configuration properties files to load Gu(lI ~  
      加载附加的配置文件的位置 O0l^*nZ46t  
HP2wtN{Zs  
F:FMeg  
struts.devMode b=##A  
      Whether Struts is in development mode or not 8@K^|xeQ  
      是否为struts开发模式 q?{}3 dPC  
6o3T;h  
struts.dispatcher.parametersWorkaround q1Qje%9@t  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S*W;%J5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0O@_ cW  
y+mElG$F  
struts.enable.DynamicMethodInvocation To"dG& h  
      Allows one to disable dynamic method invocation from the URL D=?{8'R'  
        允许动态方法调用 oT+(W,G  
}F1s tDx  
struts.freemarker.manager.classname PB'0?b}fab  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J07O:cjyu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mLL$|  
%5</ d5.  
struts.i18n.encoding R|,7d:k  
      The encoding to use for localization messages x2wg^$F*oO  
      国际化信息内码 X33v:9=  
N{a kg90  
struts.i18n.reload HQVh+(  
      Whether the localization messages should automatically be reloaded 0A$SYF$O+[  
      是否国际化信息自动加载 oN2=DYC41  
,\ldz(D?+  
struts.locale CDg AGy  
      The default locale for the Struts application 60B-ay0e$b  
      默认的国际化地区信息 nnCug  
6XUuGxQV/  
struts.mapper.class V% axeqs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4KpL>'Q=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cf8-]G?tK  
h* .w"JO  
struts.multipart.maxSize GG-[`!>.pw  
      The maximize size of a multipart request (file upload) O&?.&h  
      multipart请求信息的最大尺寸(文件上传用) =V$j6  
M-9gD[m  
struts.multipart.parser 6v z1*\:H~  
      The org.apache.struts2.dispatcher.multipart. Q |hm1q  
      MultiPartRequest parser implementation for a multipart request (file upload) -e>|kPfv!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Agy <j   
)^;DGzG  
L@)&vn]  
struts.multipart.saveDir <)#kq1b?  
      The directory to use for storing uploaded files %]4-{%v  
      设置存储上传文件的目录夹 \ElX~$fS  
O]=C#E{  
struts.objectFactory ?C;JJ#Ho  
      The com.opensymphony.xwork2.ObjectFactory implementation class r'aY2n^O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w+UV"\!G)Q  
h8}8Lp(/'  
struts.objectFactory.spring.autoWire g'lT  
      Whether Spring should autoWire or not 8OAg~mQ15(  
      是否自动绑定Spring H~9=&p[Q  
?b$3ob"  
struts.objectFactory.spring.useClassCache =Sxol>?t  
      Whether Spring should use its class cache or not #s"B-sWE  
      是否spring应该使用自身的cache F>Jg~ FD*  
iB bbr,  
struts.objectTypeDeterminer i^|@"+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MV936  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }B)jq`a?|\  
it}-^3A M  
struts.serve.static.browserCache LpWI>sNv  
If static content served by the Struts filter should set browser caching header properties or not 9N Le&o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l]5%  
|-kEGLH[*V  
struts.serve.static jxY-u+B  
      Whether the Struts filter should serve static content or not b7$}JCn  
      是否struts过滤器应该提供静态内容 m^tNqJs8  
:,F=w0O  
struts.tag.altSyntax J+2R&3;_O  
      Whether to use the alterative syntax for the tags or not RO oE%%8I  
      是否可以用替代的语法替代tags iHz[Zw^.s  
hx!`F  
struts.ui.templateDir N lt4)  
      The directory containing UI templates YFx=b!/ s  
      UI templates的目录夹 :XS"# ^aJ  
Dd/}Ya(Gi  
struts.ui.theme h~ha  
      The default UI template theme lO 2k<  
      默认的UI template主题 zqGYOm$r  
oh&Y< d0  
struts.url.http.port |~NeB"l{  
      The HTTP port used by Struts URLs 878tI3-  
      设置http端口 `Cj,HI_/*  
*Q/E~4AW|t  
struts.url.https.port 5Rs?CVVb  
      The HTTPS port used by Struts URLs (3fPt;U  
      设置https端口 L?f qcW{  
I7Zq}Pxa  
struts.url.includeParams V_]-`?S  
      The default includeParams method to generate Struts URLs g{a d0.y,  
      在url中产生 默认的includeParams F*<Ws;j  
+{ab1))/  
6D^%'[4t  
struts.velocity.configfile liG~y|  
      The Velocity configuration file path ayH>XwY6  
      velocity配置文件路径 ;U7t  
b-b;7a\N  
struts.velocity.contexts g =\13# F  
      List of Velocity context names yHw!#gWM  
      velocity的context列表 Ph\F'xROe  
ddMM74  
+-k`x0v  
struts.velocity.manager.classname &|] Fg5  
      org.apache.struts2.views.velocity.VelocityManager implementation class MZi8Fo'  
      org.apache.struts2.views.velocity.VelocityManager接口名 PDZ)*$EE  
.Bijc G  
struts.velocity.toolboxlocation ;S =e%:zb  
      The location of the Velocity toolbox KqY>4tb  
      velocity工具盒的位置 }'_:XKLj  
struts.xslt.nocache %>]#vQ|  
      Whether or not XSLT templates should not be cached -9i+@%{/  
      是否XSLT模版应该被缓存 OAyE/Q|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八