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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .\X;VWTI  
}QqmDK.  
struts.action.extension (;@\gRL  
      The URL extension to use to determine if the request is meant for a Struts action Tp7slKc0p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N=oWIK<;-  
_#8OHG.x  
struts.configuration A#6\5u  
      The org.apache.struts2.config.Configuration implementation class cKKl\g@}  
        org.apache.struts2.config.Configuration接口名 eQRY xx{  
voHFU#Z$  
struts.configuration.files ny]R,D0  
      A list of configuration files automatically loaded by Struts f2y:K6$'l*  
      struts自动加载的一个配置文件列表 3bi,9 >%  
0cwb^ffN  
struts.configuration.xml.reload Tl9;KE|  
      Whether to reload the XML configuration or not dlx "L%  
      是否加载xml配置(true,false) :sY pZX1  
uzx?U3.\  
struts.continuations.package }RvP*i  
      The package containing actions that use Rife continuations rIt#ps  
      含有actions的完整连续的package名称 _8U 5mW  
0;kp`hB  
struts.custom.i18n.resources `;9Z?]}`  
      Location of additional localization properties files to load AMhHq/Dw  
      加载附加的国际化属性文件(不包含.properties后缀) [Ie;Jd>gG  
B7fV_-p:G  
struts.custom.properties K; +w'/{  
      Location of additional configuration properties files to load &ZRriqsQg  
      加载附加的配置文件的位置 uP-I7l0i1  
POtj6 ?a  
H7 xyK  
struts.devMode 'w8k*@cQ  
      Whether Struts is in development mode or not I+?9}t  
      是否为struts开发模式 ,p,$(V  
v^=Po6S[{+  
struts.dispatcher.parametersWorkaround 5VU 5kiCt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \!erP!$x .  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \=O['#  
|Mj2lZS  
struts.enable.DynamicMethodInvocation 3:XF7T  
      Allows one to disable dynamic method invocation from the URL oM&}akPE  
        允许动态方法调用 Vg 6/1I  
5ir[}I^z  
struts.freemarker.manager.classname f8T6(cA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JfJLJ(}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o~vUqj?BA  
KkIxtFM  
struts.i18n.encoding RZtY3:FBx|  
      The encoding to use for localization messages J 8z|ua  
      国际化信息内码 {xFgPtCM  
T=EHue$  
struts.i18n.reload o1m+4.-  
      Whether the localization messages should automatically be reloaded m+t<<5I[-  
      是否国际化信息自动加载 7wivu*0  
xp!M A  
struts.locale JH4hy9i  
      The default locale for the Struts application +:a#+]g  
      默认的国际化地区信息 x:7"/H|  
>tmv3_<=  
struts.mapper.class 59Lv/Mfy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C#^V<:9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "Cj {Z@n  
4=G)j+RCH  
struts.multipart.maxSize kq{PM-]l  
      The maximize size of a multipart request (file upload) b9 F:X  
      multipart请求信息的最大尺寸(文件上传用) !CBvFl/v  
hu ]l{TXi  
struts.multipart.parser kqebU!0-  
      The org.apache.struts2.dispatcher.multipart. > FVBn;1  
      MultiPartRequest parser implementation for a multipart request (file upload) G`/5=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m| /?((s  
~rUcko8  
d@$]/=%  
struts.multipart.saveDir Jv,*rQH  
      The directory to use for storing uploaded files :i?7RouO  
      设置存储上传文件的目录夹 6T?$m7c  
$s2Y,0>I6  
struts.objectFactory mMNT.a  
      The com.opensymphony.xwork2.ObjectFactory implementation class $ ?HOke  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *%3%Zj,{  
]4uY<9VL  
struts.objectFactory.spring.autoWire -4%{Jb-1  
      Whether Spring should autoWire or not (~6D`g`B  
      是否自动绑定Spring hT=6XO od4  
m@Q%)sc)  
struts.objectFactory.spring.useClassCache ^69ZX61vt  
      Whether Spring should use its class cache or not kH.W17D~  
      是否spring应该使用自身的cache j3Sz+kOf,  
j(QK0"z  
struts.objectTypeDeterminer m,Fug1+N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xJ);P.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mRECd Gst  
e5GJ:2sH  
struts.serve.static.browserCache !,(6uO%  
If static content served by the Struts filter should set browser caching header properties or not x%Fy1.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +o4W8f=Ga  
sTb@nrRxH  
struts.serve.static F?!X<N{  
      Whether the Struts filter should serve static content or not b9%G"?~Zz  
      是否struts过滤器应该提供静态内容 x1O]@Z{d\  
,ix>e  
struts.tag.altSyntax Pf,lZU?f  
      Whether to use the alterative syntax for the tags or not Fv )H;1V  
      是否可以用替代的语法替代tags ru5T0w";V  
(2l?~CaK  
struts.ui.templateDir YQ`m;<  
      The directory containing UI templates dfa^5`_  
      UI templates的目录夹 -s!cZ3  
9i?Q=Vuc~<  
struts.ui.theme "Yy)&zKr  
      The default UI template theme *}Cm/li/w  
      默认的UI template主题 y.6Yl**l  
m~<<ok_  
struts.url.http.port "%?$BoJR0  
      The HTTP port used by Struts URLs k0e {c  
      设置http端口 1M<;}hJ{/  
? kBX:(g  
struts.url.https.port A4mnm6Tf  
      The HTTPS port used by Struts URLs +FGw)>g8'm  
      设置https端口 3m]8>1e1"  
.zQ'}H1.C  
struts.url.includeParams q(n PI  
      The default includeParams method to generate Struts URLs DZ*m"Bi  
      在url中产生 默认的includeParams dJf#j?\[  
=*\(Y (0  
Z< 4Du  
struts.velocity.configfile ^*@D%U  
      The Velocity configuration file path $psPNJG  
      velocity配置文件路径 [Q:C\f]  
7&>==|gt  
struts.velocity.contexts D3 .$Vl,.  
      List of Velocity context names q Xj]O3 mm  
      velocity的context列表 ^dP]3D1 @  
0/~20KD{s  
Pg%k>~i  
struts.velocity.manager.classname p8bAz  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6EY W:o  
      org.apache.struts2.views.velocity.VelocityManager接口名 |-zefzD|  
rT/4w#_3  
struts.velocity.toolboxlocation .EXxNB]%Y&  
      The location of the Velocity toolbox U_oei3QP  
      velocity工具盒的位置 K[s!3.u  
struts.xslt.nocache ;>jLRx<KC  
      Whether or not XSLT templates should not be cached FS^ie|8{D-  
      是否XSLT模版应该被缓存 [qHtN.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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