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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G&Sp }  
cEd!t6Z  
struts.action.extension j@b4)t  
      The URL extension to use to determine if the request is meant for a Struts action {<- BU[H  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZrFC#wJb  
{^#62Y  
struts.configuration x1kb]0s<-  
      The org.apache.struts2.config.Configuration implementation class DN@T4!  
        org.apache.struts2.config.Configuration接口名 $Y4;Xe=  
)5j%."  
struts.configuration.files dEp?jJP$;  
      A list of configuration files automatically loaded by Struts }X3SjNd q  
      struts自动加载的一个配置文件列表 !:mo2zA  
0VB~4NNR  
struts.configuration.xml.reload +`x8[A)-  
      Whether to reload the XML configuration or not !s]LWCX+|  
      是否加载xml配置(true,false) QMfa~TH#p  
j[h4F"`-  
struts.continuations.package r^k:$wJbRK  
      The package containing actions that use Rife continuations 5Qik{cWxBq  
      含有actions的完整连续的package名称 6 /Apdn1[  
ccJ@jpXI  
struts.custom.i18n.resources #U NTD4   
      Location of additional localization properties files to load TK;*:K8oe  
      加载附加的国际化属性文件(不包含.properties后缀) <"@~  
Nd~?kZZu  
struts.custom.properties 2 c <Qh=  
      Location of additional configuration properties files to load v 6?{g  
      加载附加的配置文件的位置 !z;a>[T'  
J..>ApX  
vb}; _/ #?  
struts.devMode sSi1;9^o  
      Whether Struts is in development mode or not por[p\M.  
      是否为struts开发模式 ]iuM2]  
x aWmwsym  
struts.dispatcher.parametersWorkaround g`!:7|&,_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {@9y%lmrh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0=;jGh}|i  
$@t-Oor;  
struts.enable.DynamicMethodInvocation 31y=Ar""  
      Allows one to disable dynamic method invocation from the URL ubIGs| p2c  
        允许动态方法调用 V,($I'&/  
92GO.xAD?  
struts.freemarker.manager.classname ho_;;y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !c\d(u  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j3rBEQ,R  
o)7gKWjujP  
struts.i18n.encoding -tSWYp{  
      The encoding to use for localization messages tH<v1LEZN  
      国际化信息内码 ZgLO[Bj  
E {d Mdz  
struts.i18n.reload tqIz$84G  
      Whether the localization messages should automatically be reloaded s&p*.I]@>  
      是否国际化信息自动加载 0}c *u) ,  
2i4FIS|z0  
struts.locale Xz0jjO,  
      The default locale for the Struts application 0CxQ@~ttl  
      默认的国际化地区信息 ky#d`   
d^IOB|6Q  
struts.mapper.class :QsGwhB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dfe 9)m>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hq/\'Z&!+P  
pK#Ze/!  
struts.multipart.maxSize d+%1q  
      The maximize size of a multipart request (file upload) hNXPm~OK\  
      multipart请求信息的最大尺寸(文件上传用) YZf<S:  
f8)D|  
struts.multipart.parser b1jh2pG(V  
      The org.apache.struts2.dispatcher.multipart. 0i9y-32-  
      MultiPartRequest parser implementation for a multipart request (file upload) . x~tEe  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #JGy2Hk$^  
W?G4\ubM3<  
r+0"1\f3  
struts.multipart.saveDir l'VgS:NT  
      The directory to use for storing uploaded files wYhWRgP  
      设置存储上传文件的目录夹 V{fYMgv  
BUv;BzyV  
struts.objectFactory 3Qe:d_  
      The com.opensymphony.xwork2.ObjectFactory implementation class >/EmC3?b!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _h7+.U=  
*"0Yr`)S  
struts.objectFactory.spring.autoWire ,qpn4`zE~  
      Whether Spring should autoWire or not m~#S76!w  
      是否自动绑定Spring '!Vn  
*~M=2Fj;i  
struts.objectFactory.spring.useClassCache Tn/T :7C  
      Whether Spring should use its class cache or not iqghcY)  
      是否spring应该使用自身的cache %$I\\q q>{  
dx[<@f2c  
struts.objectTypeDeterminer (hd^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "tUXYY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F$ x@ ]  
 ^DVr>u  
struts.serve.static.browserCache bc5+}&W  
If static content served by the Struts filter should set browser caching header properties or not ";9cYoKRY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +}>whyX1  
?{$Q'c_I  
struts.serve.static yEtSyb~GK  
      Whether the Struts filter should serve static content or not U}6'_ PRQ  
      是否struts过滤器应该提供静态内容 /9|1eSUa  
|v}"UW(y  
struts.tag.altSyntax ,m!j2H}8  
      Whether to use the alterative syntax for the tags or not FJv=5L  
      是否可以用替代的语法替代tags &7T0nB/)  
$.cNY+  k  
struts.ui.templateDir [Ym?"YwVX  
      The directory containing UI templates [Zl  
      UI templates的目录夹 Et%s,zeA{2  
/+P 4cHv]F  
struts.ui.theme @h X  
      The default UI template theme vyERt^z  
      默认的UI template主题 Q<d\K(<3?:  
4*l ShkL  
struts.url.http.port ,|"tLN *m  
      The HTTP port used by Struts URLs 4CS 9vv)9R  
      设置http端口 `l1{BU  
]}8<h5h)  
struts.url.https.port s9~W( Wi  
      The HTTPS port used by Struts URLs 0(Z ER sP  
      设置https端口 +e%9P%[+  
> z h  
struts.url.includeParams ]o_Z3xXUa  
      The default includeParams method to generate Struts URLs ;) 5d wq  
      在url中产生 默认的includeParams X7{ueP#L  
Q4TI '/  
23qTmh  
struts.velocity.configfile HW"|Hm$Y(  
      The Velocity configuration file path )}=`Gx5+  
      velocity配置文件路径 A<r@,*(g  
1s=M3m&H  
struts.velocity.contexts K/+5$SjF  
      List of Velocity context names lOPCM1Se  
      velocity的context列表 PNd]Xmv)  
@xm O\  
`&4L'1eF{  
struts.velocity.manager.classname +e`f|OQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class V? w;YTg  
      org.apache.struts2.views.velocity.VelocityManager接口名 j=r`[B m  
o  <0f  
struts.velocity.toolboxlocation 8V;@yzI ha  
      The location of the Velocity toolbox {tV)+T  
      velocity工具盒的位置 )(9>r /bq  
struts.xslt.nocache 5.]+K<:h"A  
      Whether or not XSLT templates should not be cached vJ7I [Z  
      是否XSLT模版应该被缓存 LgjL+w19  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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