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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bl<7[J.  
($W 5fbu  
struts.action.extension 8|GpfW3p 2  
      The URL extension to use to determine if the request is meant for a Struts action i#=X#_ +El  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &L]*]Xz;  
!y?hn$w0  
struts.configuration sQs5z~#51*  
      The org.apache.struts2.config.Configuration implementation class zOdKB2_J7  
        org.apache.struts2.config.Configuration接口名 sD +G+  
KOx#LGz  
struts.configuration.files R-fjxM*  
      A list of configuration files automatically loaded by Struts GcCs}(eo  
      struts自动加载的一个配置文件列表 JUFO.m^w  
dCTpO  
struts.configuration.xml.reload  &7&*As  
      Whether to reload the XML configuration or not T}[vfIJD  
      是否加载xml配置(true,false) ew$Z5N:  
@&##c6\$  
struts.continuations.package A#: c  
      The package containing actions that use Rife continuations V2%wb\_z  
      含有actions的完整连续的package名称 EIQy?ig86  
@F^L4 N':  
struts.custom.i18n.resources Y j\yO(o/  
      Location of additional localization properties files to load vh8Kd' y  
      加载附加的国际化属性文件(不包含.properties后缀)  eb@Lh!  
eE%yo3  
struts.custom.properties neFno5dj  
      Location of additional configuration properties files to load ;_5 =g  
      加载附加的配置文件的位置 s'Gy+h.  
R}9jgB  
guXpHF=  
struts.devMode 2(/ /slP  
      Whether Struts is in development mode or not N-YZ0/c  
      是否为struts开发模式 NV4W2thYo  
!!%nl_I(  
struts.dispatcher.parametersWorkaround RpP[ymMZJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L"6/"L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rxp9B>~  
D D;+& fe  
struts.enable.DynamicMethodInvocation RyWOiQk;  
      Allows one to disable dynamic method invocation from the URL g 'a?  
        允许动态方法调用 EoR6Rx@Z  
,ri--<  
struts.freemarker.manager.classname -L?% o_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8z8SwWS?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  .OS?^\  
)}\@BtcjA]  
struts.i18n.encoding )ZyuF(C&  
      The encoding to use for localization messages !>Y\&zA  
      国际化信息内码 gD+t'qg$  
59BHGvaF  
struts.i18n.reload c$:=d4t5$  
      Whether the localization messages should automatically be reloaded Nw& }qSN  
      是否国际化信息自动加载 W(lKR_pF  
oe|<xWu  
struts.locale qgsE7 ]  
      The default locale for the Struts application "d>g)rvOc  
      默认的国际化地区信息 DLVs>?Y  
[HiTR!o*  
struts.mapper.class <?7,`P:h[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ||ZufFO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V^/^OR4k  
gJ8 c]2c  
struts.multipart.maxSize D)7$M]d%  
      The maximize size of a multipart request (file upload) FK >8kC  
      multipart请求信息的最大尺寸(文件上传用) L8xprHgL  
Zi@+T  
struts.multipart.parser 02#Iip3t  
      The org.apache.struts2.dispatcher.multipart. L{%a4 Ip  
      MultiPartRequest parser implementation for a multipart request (file upload) 4U;XqUY /  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q <-%jBP  
64rk^Um  
_JIUds5  
struts.multipart.saveDir 4yZ+,hqJ<9  
      The directory to use for storing uploaded files l%U_iqL&  
      设置存储上传文件的目录夹 %R*vSRG/U  
9Y@?xn.\  
struts.objectFactory 9`n) "r  
      The com.opensymphony.xwork2.ObjectFactory implementation class S@zkoj@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {2gd4[:  
-Dq:Y,%q  
struts.objectFactory.spring.autoWire q;0&idYC  
      Whether Spring should autoWire or not 9f%y)[ \  
      是否自动绑定Spring LI;EfyL  
~ 9~\f  
struts.objectFactory.spring.useClassCache ?r E]s!K  
      Whether Spring should use its class cache or not ig _<kj;Vd  
      是否spring应该使用自身的cache OPt;G,$ta  
IgR"eu U  
struts.objectTypeDeterminer J[Yg]6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CC(*zrOd-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -YjgS/g  
ME@6.*  
struts.serve.static.browserCache Y0fO.k#C^  
If static content served by the Struts filter should set browser caching header properties or not !a&SB*%^I3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #!u51P1  
SP?U@w%}  
struts.serve.static chMc(.cN0  
      Whether the Struts filter should serve static content or not +\8krA  
      是否struts过滤器应该提供静态内容 i@R$g~~-D  
zvb} p  
struts.tag.altSyntax 9C)3 b3  
      Whether to use the alterative syntax for the tags or not !+DJhw&c,  
      是否可以用替代的语法替代tags i|]Va44  
]\ 2RV DC  
struts.ui.templateDir (p.3'j(  
      The directory containing UI templates ;!JX-Jq  
      UI templates的目录夹 fw|+7 O  
Q$h:[_v  
struts.ui.theme mV*/zWh_  
      The default UI template theme _X2EBpZp  
      默认的UI template主题 -llx:  
Ag4Ga?&8ec  
struts.url.http.port -6~y$c&c  
      The HTTP port used by Struts URLs Z'*Z@u3  
      设置http端口 7kX$wQZ_  
!MJe+.  
struts.url.https.port ,Lun-aMd  
      The HTTPS port used by Struts URLs ;y~{+{{Ow  
      设置https端口 "`i:)Et  
D@\;@( |  
struts.url.includeParams H9san5{  
      The default includeParams method to generate Struts URLs |!?WQ[  
      在url中产生 默认的includeParams "ryk\}*<  
^L-w(r62<  
r2GK_$vd  
struts.velocity.configfile r -q3+c^+  
      The Velocity configuration file path iA3>X-x   
      velocity配置文件路径 ) {  
}uI7 \\S  
struts.velocity.contexts G]mWaA  
      List of Velocity context names ImV]}M~_  
      velocity的context列表 h#m:Y~GoF  
9sU+IT K4  
pgd8`$(Q  
struts.velocity.manager.classname ;w6fM  
      org.apache.struts2.views.velocity.VelocityManager implementation class %t~SOkx  
      org.apache.struts2.views.velocity.VelocityManager接口名 b WbXh$  
EwD3d0udL  
struts.velocity.toolboxlocation `kNi*I^  
      The location of the Velocity toolbox  Vp] D  
      velocity工具盒的位置 "rx^M*"  
struts.xslt.nocache FJf~vAQ  
      Whether or not XSLT templates should not be cached phgexAq  
      是否XSLT模版应该被缓存 6vgBqn[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五