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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 A(zF[\{]  
ChO?Lm$y  
struts.action.extension y=7WnQc  
      The URL extension to use to determine if the request is meant for a Struts action })RT2zw}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B7BXS*_b  
zea=vx>`  
struts.configuration v'gP,UO-%D  
      The org.apache.struts2.config.Configuration implementation class )[_A{#&  
        org.apache.struts2.config.Configuration接口名 2NHuZ.af  
3 r4QB  
struts.configuration.files tl9=u-D13@  
      A list of configuration files automatically loaded by Struts ]k~Vh[[  
      struts自动加载的一个配置文件列表 NsDJ q{  
'?7th>pC  
struts.configuration.xml.reload ii&{gC  
      Whether to reload the XML configuration or not b Lag&c)  
      是否加载xml配置(true,false) ~_<I}!j/B  
$.{CA-~%[  
struts.continuations.package f0H 5 )DJf  
      The package containing actions that use Rife continuations ;sJUTp5\h  
      含有actions的完整连续的package名称 ' NCxVbyYD  
yZk HBG4  
struts.custom.i18n.resources ^T*^L=L_(  
      Location of additional localization properties files to load x}Qet4vV  
      加载附加的国际化属性文件(不包含.properties后缀) :&: IZkO  
&* GwA  
struts.custom.properties {];4  
      Location of additional configuration properties files to load Pl^-]~  
      加载附加的配置文件的位置 Y*nzOD$  
*: )hoHp&  
94C)63V  
struts.devMode bL*;6TzRK  
      Whether Struts is in development mode or not L(tS]yWHw  
      是否为struts开发模式 \|^fG9M~  
%~%1Is`4J  
struts.dispatcher.parametersWorkaround y\0<f `v6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w20E]4"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `.>5H\w0e  
Fq3[/'M^  
struts.enable.DynamicMethodInvocation wUkLe-n,dE  
      Allows one to disable dynamic method invocation from the URL \bAsn89O  
        允许动态方法调用 E><!Owxt/  
0=Jf93D5  
struts.freemarker.manager.classname " a;z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [ox!MQ+s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qZRx,^gd  
04-phEA2Q  
struts.i18n.encoding Cr0 \7  
      The encoding to use for localization messages Y#'mALC2  
      国际化信息内码 bSHlR#!6  
N_S>%Z+  
struts.i18n.reload LL3RC6;e  
      Whether the localization messages should automatically be reloaded G#n99X@-  
      是否国际化信息自动加载 `L0aQ$'>z  
DDxNqVVt4  
struts.locale ^pz3L'4n  
      The default locale for the Struts application T8Sgu6:*R  
      默认的国际化地区信息 ,])@?TJb@  
J]uYXsC  
struts.mapper.class SPKen}g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?m-kpW8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y68`B"3  
9HMW!DSK`  
struts.multipart.maxSize <}'hkEh{d=  
      The maximize size of a multipart request (file upload) pKK&+umg  
      multipart请求信息的最大尺寸(文件上传用) 3$f%{~3  
INwc@XB  
struts.multipart.parser t6 :;0[j  
      The org.apache.struts2.dispatcher.multipart. FI@2K M  
      MultiPartRequest parser implementation for a multipart request (file upload) 6S?a57;&W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^Q8m) 0DP  
n =v4m_e  
E\!:MCL  
struts.multipart.saveDir %8iA0t+  
      The directory to use for storing uploaded files M (dVY/ i  
      设置存储上传文件的目录夹 I\ V33Nd  
_@D}2  
struts.objectFactory rXo2MX@u  
      The com.opensymphony.xwork2.ObjectFactory implementation class }%k,PYe/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DJgk"'  
Gjuc"JR7  
struts.objectFactory.spring.autoWire wqo2iRql  
      Whether Spring should autoWire or not ?QO)b9  
      是否自动绑定Spring j}YZl@dYV  
@(.?e<  
struts.objectFactory.spring.useClassCache -F,o@5W>Y  
      Whether Spring should use its class cache or not U,/NygB~  
      是否spring应该使用自身的cache Y+N^_2@+C  
^5vFF@to  
struts.objectTypeDeterminer ~D@pk>I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )CS 7>Vx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AEkgm^t.{  
N^|r.J  
struts.serve.static.browserCache U@[P.y~J  
If static content served by the Struts filter should set browser caching header properties or not 6$wS7Cu  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ko!38BH`/  
n`f},.NM|  
struts.serve.static s%]-Sw9  
      Whether the Struts filter should serve static content or not :K{`0U&l5  
      是否struts过滤器应该提供静态内容 tF)K$!GR[  
}|f\'S   
struts.tag.altSyntax #FF5xe  
      Whether to use the alterative syntax for the tags or not 9Vk61x6  
      是否可以用替代的语法替代tags >K#Z]k  
Jl3l\I'  
struts.ui.templateDir FVLXq0<Cj  
      The directory containing UI templates L]0+ u\(  
      UI templates的目录夹 SqY;2:  
jM J[6qj  
struts.ui.theme "d'xT/l "  
      The default UI template theme yZI4%fen  
      默认的UI template主题 G1B~?i2$ ?  
G~)jk+Qq  
struts.url.http.port tjkY[  
      The HTTP port used by Struts URLs XboOvdt^|  
      设置http端口 `<y[V  
o)n8,k&nm  
struts.url.https.port Zx25H"5j  
      The HTTPS port used by Struts URLs Cq1t[a  
      设置https端口 t&SJ!>7_c  
S6}_Z  
struts.url.includeParams S}e*~^1J  
      The default includeParams method to generate Struts URLs &nn!{S^  
      在url中产生 默认的includeParams /6F 1=O(c>  
fT._Os?i  
,IuO;UV#)  
struts.velocity.configfile &dvJg  
      The Velocity configuration file path `{I,!to  
      velocity配置文件路径 3@$h/xMJ  
9}X3Q!iFb  
struts.velocity.contexts mL+}Ka  
      List of Velocity context names x=1G|<z%  
      velocity的context列表 8+a/x#b-  
#f.@XIt'  
nL^6{I~  
struts.velocity.manager.classname 5:|5NX[.b  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8!>uC&bE8  
      org.apache.struts2.views.velocity.VelocityManager接口名 z1!ya#,$  
M; zRf3S  
struts.velocity.toolboxlocation SrK;b .  
      The location of the Velocity toolbox doc5;?6   
      velocity工具盒的位置 fFXs:(  
struts.xslt.nocache 9 )B>|#\  
      Whether or not XSLT templates should not be cached g ^)>-$=  
      是否XSLT模版应该被缓存 <!X'- >i%q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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