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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M>CW(X  
AeqxH1%  
struts.action.extension Z/-!-  
      The URL extension to use to determine if the request is meant for a Struts action pU4 B6KTW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 je^!W?U4<  
k{/2vV[`]  
struts.configuration {xm^DT  
      The org.apache.struts2.config.Configuration implementation class hhTM-D1Ehs  
        org.apache.struts2.config.Configuration接口名 Mh04O@"  
&></l| hY  
struts.configuration.files $J>J@4  
      A list of configuration files automatically loaded by Struts n\Z& sc  
      struts自动加载的一个配置文件列表 F[Dhj,C"  
k!gft'iU  
struts.configuration.xml.reload KJ Gh)  
      Whether to reload the XML configuration or not Z:l.{3J$  
      是否加载xml配置(true,false) 0ciPH:V  
Yg5m=Lis  
struts.continuations.package wG1A]OJl1  
      The package containing actions that use Rife continuations niZ/yW{w  
      含有actions的完整连续的package名称 @$R[Js%MuO  
f^8,Z+n  
struts.custom.i18n.resources p}qNw`  
      Location of additional localization properties files to load MtYi8"+<e.  
      加载附加的国际化属性文件(不包含.properties后缀) |22~.9S  
-kp! .c  
struts.custom.properties WXqrx*?*+  
      Location of additional configuration properties files to load uTN mt]  
      加载附加的配置文件的位置 -5Qsc/ s&  
Hq.ys>_  
mK3U*)A   
struts.devMode rBv  
      Whether Struts is in development mode or not S!0ocS!t  
      是否为struts开发模式 >&K1+FSmyJ  
x)M=_u2 _  
struts.dispatcher.parametersWorkaround 2k,!P6fgl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Mf0XQ3n`H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )q?z "F|  
#!wL0 p  
struts.enable.DynamicMethodInvocation ~ {sRK  
      Allows one to disable dynamic method invocation from the URL ?QGAiu0  
        允许动态方法调用 \de82 4  
?UAB}CjY  
struts.freemarker.manager.classname IfHB+H   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M<t>jM@'A#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,LjB%f[  
0*66m:C2  
struts.i18n.encoding <Z^t^ O  
      The encoding to use for localization messages V j\1 HQ  
      国际化信息内码 .6Swc?  
&8R%W"<K  
struts.i18n.reload g{&a|NU^  
      Whether the localization messages should automatically be reloaded -1ke3  
      是否国际化信息自动加载 a}3sG_(Y  
T<*i($ [  
struts.locale ~Uw **PT3M  
      The default locale for the Struts application (>*<<a22  
      默认的国际化地区信息 JO:40V?op  
zmf`}j[  
struts.mapper.class 5}3Q}o#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uJ<sa;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;H5H7ezV  
YKwej@9,  
struts.multipart.maxSize J]8nbl  
      The maximize size of a multipart request (file upload) S$q:hXZ#e  
      multipart请求信息的最大尺寸(文件上传用) g>h5NrD N  
-Dw qoWZ  
struts.multipart.parser e[fzy0  
      The org.apache.struts2.dispatcher.multipart. 4&IBNc,sn  
      MultiPartRequest parser implementation for a multipart request (file upload) j_PICv*6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K'[H`x^  
k;v2 3  
|t^7L )&y  
struts.multipart.saveDir 4e d+'-"m  
      The directory to use for storing uploaded files %C*oy$.  
      设置存储上传文件的目录夹 q^],K'  
j[ !'l,I  
struts.objectFactory {s}@$rW  
      The com.opensymphony.xwork2.ObjectFactory implementation class rf"%D<bb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @DYxxM-  
AY['!&T  
struts.objectFactory.spring.autoWire \HFeEEKH  
      Whether Spring should autoWire or not Q7O8']~n  
      是否自动绑定Spring  ?C   
GH2D5HVN  
struts.objectFactory.spring.useClassCache ai% fj*  
      Whether Spring should use its class cache or not 7MreBs(M  
      是否spring应该使用自身的cache vKppXm1  
1_ uq46  
struts.objectTypeDeterminer hPt(7E2ke~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -:(,<Jt<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PdG:aGQ>  
` INcZr"  
struts.serve.static.browserCache |V{'W-` |[  
If static content served by the Struts filter should set browser caching header properties or not 2ul!f7#E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7-81,ADv(  
HABMFv  
struts.serve.static SesJg~8  
      Whether the Struts filter should serve static content or not %RgCU$s[>  
      是否struts过滤器应该提供静态内容 c;l d  
?#^(QR|/  
struts.tag.altSyntax :`6E{yfM  
      Whether to use the alterative syntax for the tags or not H XF5fs  
      是否可以用替代的语法替代tags "FI]l<G&  
uUb[Dqn  
struts.ui.templateDir v|~ yIywf  
      The directory containing UI templates SEQ bw](ss  
      UI templates的目录夹 {q%&~  
RO,  
struts.ui.theme I3o6ym-i  
      The default UI template theme S/pTFlptCa  
      默认的UI template主题 ;3NA,JA#Y  
:%qJAjR&  
struts.url.http.port 1lu _<?O  
      The HTTP port used by Struts URLs -?n|kSHX  
      设置http端口 V}ZF\SG(K  
lqe;lWC0Z  
struts.url.https.port rJK3;d?E  
      The HTTPS port used by Struts URLs A][\L[8X  
      设置https端口 jJ86Ch  
Pb=J4Lvz(d  
struts.url.includeParams 31-%IkX+k  
      The default includeParams method to generate Struts URLs  lTsl=  
      在url中产生 默认的includeParams S!o!NSn@1  
:WejY`}H%  
:i+Tf~k{  
struts.velocity.configfile {4tJT25  
      The Velocity configuration file path [aX'eM q  
      velocity配置文件路径 p%5RE%u  
3B95t-  
struts.velocity.contexts -%"Kxe  
      List of Velocity context names _ v\=ag  
      velocity的context列表 MnUal}MO  
-#= v~vE  
z>+@pj   
struts.velocity.manager.classname lil1$K: i  
      org.apache.struts2.views.velocity.VelocityManager implementation class t>><|~wp  
      org.apache.struts2.views.velocity.VelocityManager接口名 tn201TDZ]=  
j.X3SQb4G  
struts.velocity.toolboxlocation 1QXv}36#3n  
      The location of the Velocity toolbox <e|I?zI9-  
      velocity工具盒的位置 {Cnz7TVB  
struts.xslt.nocache -sl] funRy  
      Whether or not XSLT templates should not be cached 7u-o7#,X2  
      是否XSLT模版应该被缓存 SUxz &xH  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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