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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Cnd*%CPZ  
g (33h2"  
struts.action.extension : :uD%a zd  
      The URL extension to use to determine if the request is meant for a Struts action 9xB^dKM3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U> (5J,G  
Hig=PG5I  
struts.configuration xB68RQe)  
      The org.apache.struts2.config.Configuration implementation class Oo`P +S#  
        org.apache.struts2.config.Configuration接口名 {0lY\#qcE  
K8pfk*NZ_@  
struts.configuration.files /SY40;k:  
      A list of configuration files automatically loaded by Struts U)zd~ug?m  
      struts自动加载的一个配置文件列表 :M`|*~V~$  
owCQ71Q  
struts.configuration.xml.reload Y:FV+ SI  
      Whether to reload the XML configuration or not ndOPD]A'  
      是否加载xml配置(true,false) @\i6m]\X  
Lbq"( b  
struts.continuations.package r9uY ?M  
      The package containing actions that use Rife continuations  &{7n  
      含有actions的完整连续的package名称 {v+i!a'+  
f/Grem  
struts.custom.i18n.resources c#OZ=`  
      Location of additional localization properties files to load J@oGAa%3)  
      加载附加的国际化属性文件(不包含.properties后缀) R 9o:{U]  
m1gJ"k6 `j  
struts.custom.properties (i|`PA  
      Location of additional configuration properties files to load 6ApW+/  
      加载附加的配置文件的位置 ,M>W)TSH  
blid* @-  
dg4"4\c*P  
struts.devMode @!Il!+^3  
      Whether Struts is in development mode or not 9| v  
      是否为struts开发模式 =gGK243  
90k|W >  
struts.dispatcher.parametersWorkaround 6[69|&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `-\4Dx1!q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l'W?X '  
Bo`fy/x#  
struts.enable.DynamicMethodInvocation #"O9\X/B  
      Allows one to disable dynamic method invocation from the URL !}"npUgE  
        允许动态方法调用 6O"Vy  
Nk3 ]<#$  
struts.freemarker.manager.classname ve1jLjsB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3a:(\:?z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mZ/?uPIa  
L -b~#  
struts.i18n.encoding 9$~D4T  
      The encoding to use for localization messages bC$n+G>6k  
      国际化信息内码 cK(}B_D$  
HNY{%D  
struts.i18n.reload j6/ 3p|E  
      Whether the localization messages should automatically be reloaded KofjveOiC  
      是否国际化信息自动加载 ,T|iA/c  
;1NZY.pyc  
struts.locale }C/}8<  
      The default locale for the Struts application , $}P<WZMu  
      默认的国际化地区信息 &m'O :ZS2  
G2;Uv/vR  
struts.mapper.class /{>ds-;-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J0@m Ol  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?TMo6SU  
^P"t "  
struts.multipart.maxSize 2EG"xA5%  
      The maximize size of a multipart request (file upload) eP &K]#  
      multipart请求信息的最大尺寸(文件上传用) #@2`^1  
'(+l77G  
struts.multipart.parser j[iJo 5  
      The org.apache.struts2.dispatcher.multipart. K._1sOw'"Y  
      MultiPartRequest parser implementation for a multipart request (file upload) A~*Wr+pv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M[<O]p6  
)lB-D;3[_  
U=Z@Ipu5T  
struts.multipart.saveDir e Yyl=YW  
      The directory to use for storing uploaded files {EW}Wd  
      设置存储上传文件的目录夹  P/nXY  
U!3nn#!yE  
struts.objectFactory b'3#FI=:  
      The com.opensymphony.xwork2.ObjectFactory implementation class p"q-sMYl  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aFIet55o  
pRMM1&H  
struts.objectFactory.spring.autoWire "D3JdyO_S  
      Whether Spring should autoWire or not -d_FB?X  
      是否自动绑定Spring :".!6~:2  
<Y~V!9(~{Q  
struts.objectFactory.spring.useClassCache Q>TaaGc  
      Whether Spring should use its class cache or not eZ}FKg%2[  
      是否spring应该使用自身的cache "Hg n2o.;5  
Gps  
struts.objectTypeDeterminer [USXNe/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e= 8ccj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AuO%F YKY  
cv#H  
struts.serve.static.browserCache ;pAkdX&b  
If static content served by the Struts filter should set browser caching header properties or not $PrzJc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <408lm  
jVfC4M7 ,  
struts.serve.static $?*+P``  
      Whether the Struts filter should serve static content or not (&njZdcb*  
      是否struts过滤器应该提供静态内容 lFc3 5  
X 8[T*L.  
struts.tag.altSyntax 2cy{d|c  
      Whether to use the alterative syntax for the tags or not _r^&.'q  
      是否可以用替代的语法替代tags laFkOQI  
~x4Y57  
struts.ui.templateDir HF47Lc*c  
      The directory containing UI templates T}u'  
      UI templates的目录夹 Dt r'X@U  
R^PQ`$W 'R  
struts.ui.theme y{v*iH<  
      The default UI template theme 55,vmDd  
      默认的UI template主题 9wtl|s%A %  
1 ViDS  
struts.url.http.port )dlt$VX  
      The HTTP port used by Struts URLs *YtITyDS3>  
      设置http端口 r@ejU'uz  
ipU"|{NK  
struts.url.https.port %mI`mpf  
      The HTTPS port used by Struts URLs g|nPr)<  
      设置https端口 WX?|iw I~  
08.dV<P  
struts.url.includeParams xX|-5cM;  
      The default includeParams method to generate Struts URLs y<;#*wB  
      在url中产生 默认的includeParams /ox}l<ha  
7L]fCw p[  
7J 0!v q  
struts.velocity.configfile Z/_RQ q   
      The Velocity configuration file path >+$1 p_  
      velocity配置文件路径 hwC3['  
P@*whjPmo  
struts.velocity.contexts 7J')o^MG  
      List of Velocity context names  ;xry  
      velocity的context列表 o9Agx{'oV  
ap=M$9L'  
)IhI~,0Nmj  
struts.velocity.manager.classname t`Hwq   
      org.apache.struts2.views.velocity.VelocityManager implementation class _{ ?1+  
      org.apache.struts2.views.velocity.VelocityManager接口名 UQhfR}(  
xkqt(ng(  
struts.velocity.toolboxlocation IS8ppu&E  
      The location of the Velocity toolbox 8{h:z 9]J  
      velocity工具盒的位置 P/ug'  
struts.xslt.nocache ? 8'4~1g`}  
      Whether or not XSLT templates should not be cached m >'o&Hj  
      是否XSLT模版应该被缓存 -5E%f|U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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