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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /i7>&ND.r  
2/a04qA#  
struts.action.extension 7~Xu71^3s  
      The URL extension to use to determine if the request is meant for a Struts action C5W-B8>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OV0cr  
dNS9<8JX  
struts.configuration R[2[[M  
      The org.apache.struts2.config.Configuration implementation class E!O(:/*  
        org.apache.struts2.config.Configuration接口名 kiBOyC!r6  
r' 97\|  
struts.configuration.files DVeF(Y3&  
      A list of configuration files automatically loaded by Struts @Reh?]# v  
      struts自动加载的一个配置文件列表 $P1d#;rb%  
-v/?>  
struts.configuration.xml.reload }&'yt97+  
      Whether to reload the XML configuration or not |\{J` 5gr  
      是否加载xml配置(true,false) {/,+_E/  
\dQ2[Ek  
struts.continuations.package [{Klv&>_/  
      The package containing actions that use Rife continuations o9(#KC?3  
      含有actions的完整连续的package名称 `s|\" @2  
k -t,y|N  
struts.custom.i18n.resources +eH=;8  
      Location of additional localization properties files to load (\AszLW  
      加载附加的国际化属性文件(不包含.properties后缀) iIC9rso"Q1  
9h)P8B.>M  
struts.custom.properties ).@)t:uNa  
      Location of additional configuration properties files to load PT= 2LZ  
      加载附加的配置文件的位置 ! Dhfr{  
Xl '\krz  
iI/'! 85  
struts.devMode _cnrGi}T  
      Whether Struts is in development mode or not 1&x0+~G  
      是否为struts开发模式 %'p|JS  
,m_&eF  
struts.dispatcher.parametersWorkaround &Funao>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Vo58Nz:%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K;(|v3g6  
Luu-c<*M  
struts.enable.DynamicMethodInvocation wMR[*I/  
      Allows one to disable dynamic method invocation from the URL R?FtncL%D  
        允许动态方法调用 xDAA`G  
{U2| ):  
struts.freemarker.manager.classname ]'z ^Kt5S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :EmMia-)J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ky{I&}+R|  
:O_<K&  
struts.i18n.encoding 374_G?t&  
      The encoding to use for localization messages ;Ef)7GE@\[  
      国际化信息内码 z8rh*Rfxd  
\ { E;u'F  
struts.i18n.reload gJ}'O4*b  
      Whether the localization messages should automatically be reloaded ;L/T}!Dx  
      是否国际化信息自动加载 m'vOFP)'  
>G -?e!  
struts.locale  MYW 4@#  
      The default locale for the Struts application Ij,?G*  
      默认的国际化地区信息 9dhFQWz"  
r+WPQ`Ar  
struts.mapper.class [zO(V`S2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <\#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -_H2FlB  
?R~Ye  
struts.multipart.maxSize yW7S }I  
      The maximize size of a multipart request (file upload) {:q9:  
      multipart请求信息的最大尺寸(文件上传用) #'{PY r  
" kJWWR  
struts.multipart.parser we@En .>f  
      The org.apache.struts2.dispatcher.multipart. S7~l%G>]b  
      MultiPartRequest parser implementation for a multipart request (file upload) nD{;4$xP`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )a2m<"  
GA*Khqdid  
& ;x1Rx  
struts.multipart.saveDir Zm'::+ tl  
      The directory to use for storing uploaded files wBaFC\CW  
      设置存储上传文件的目录夹 d3q/mg5a  
4pHPf<6  
struts.objectFactory k?*DBXJv  
      The com.opensymphony.xwork2.ObjectFactory implementation class =u1w\>(2Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ri_6 wbPp  
`oI/;&  
struts.objectFactory.spring.autoWire ~+NFWNgN  
      Whether Spring should autoWire or not \|4MU"ri  
      是否自动绑定Spring .J! $,O@  
Q $,kB<M  
struts.objectFactory.spring.useClassCache OCoRcrAx  
      Whether Spring should use its class cache or not ?&bVe__  
      是否spring应该使用自身的cache EYj2h .k  
hdWp  
struts.objectTypeDeterminer g 0_r  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \< +47+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2nz'/G  
Q,+*u%/u  
struts.serve.static.browserCache Ih0> ]h-7  
If static content served by the Struts filter should set browser caching header properties or not Z` Eb L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Yoym5<xE  
T;e(Q,!H  
struts.serve.static +c2=*IA/  
      Whether the Struts filter should serve static content or not t 1'or  
      是否struts过滤器应该提供静态内容 ##\ZuJ^-  
+_K;Pj]x  
struts.tag.altSyntax MnsWB[  
      Whether to use the alterative syntax for the tags or not v-]-wNqT  
      是否可以用替代的语法替代tags rsj}hS$  
JqhVD@1{  
struts.ui.templateDir a-A4xL.gm  
      The directory containing UI templates 761"S@tf$}  
      UI templates的目录夹 )ejqE6'[  
r}M4()9L  
struts.ui.theme LfSU Y  
      The default UI template theme KQI} 5  
      默认的UI template主题 PL2Q!i`[o  
~8 a>D<b  
struts.url.http.port @G-k]IWi  
      The HTTP port used by Struts URLs aNEy1-/(\  
      设置http端口 RJm8K,3#  
F n Rxc  
struts.url.https.port _ r)hr7  
      The HTTPS port used by Struts URLs ,,-3p#P bw  
      设置https端口 o sH,(\4_  
?At-   
struts.url.includeParams m<HjL  
      The default includeParams method to generate Struts URLs L&k$4,Z9  
      在url中产生 默认的includeParams }U1{&4Ph  
WmBnc#>gK  
 x a,LV  
struts.velocity.configfile ?B4QTx9B  
      The Velocity configuration file path /9^0YC;Y*  
      velocity配置文件路径 S~9kp?kR$  
w3hL.Z,kV  
struts.velocity.contexts G+yz8@  
      List of Velocity context names B_G7F[/K  
      velocity的context列表 ZuV  
s9dBXfm  
!f2>6}hE  
struts.velocity.manager.classname eWs^[^c.<  
      org.apache.struts2.views.velocity.VelocityManager implementation class /]>{"sS(  
      org.apache.struts2.views.velocity.VelocityManager接口名 I>zn$d*0  
h^X.e[  
struts.velocity.toolboxlocation 30-w TcG  
      The location of the Velocity toolbox fxa^SV   
      velocity工具盒的位置 -$p-o Z)  
struts.xslt.nocache a{6|[a R  
      Whether or not XSLT templates should not be cached AFA*_9Ut  
      是否XSLT模版应该被缓存 +Uk.|@b=-V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五