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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6qCRM*V  
PL+j;V(<  
struts.action.extension r8o9C  
      The URL extension to use to determine if the request is meant for a Struts action g{t)I0xm  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z0Tpz2m  
m)5,ut/  
struts.configuration pN-l82]'  
      The org.apache.struts2.config.Configuration implementation class Bz&6kRPv  
        org.apache.struts2.config.Configuration接口名 >8I?YT.  
X/=*o;":  
struts.configuration.files <ptskbu  
      A list of configuration files automatically loaded by Struts ;oe j~  
      struts自动加载的一个配置文件列表 xq U@87[_  
A Th<=1  
struts.configuration.xml.reload z.NJu q  
      Whether to reload the XML configuration or not v-(Ry<fT9  
      是否加载xml配置(true,false) .3yoDab  
q%G"P*g$(  
struts.continuations.package nnv&~C  
      The package containing actions that use Rife continuations /-in:gX8  
      含有actions的完整连续的package名称 =/ b2e\  
b7thu5  
struts.custom.i18n.resources {S+  $C  
      Location of additional localization properties files to load EWcqMD]4u  
      加载附加的国际化属性文件(不包含.properties后缀) V^v?;f?  
z5V~m_RO  
struts.custom.properties cph&\ V2jt  
      Location of additional configuration properties files to load OA_WjTwDs  
      加载附加的配置文件的位置 ws^ 7J/8  
5$Q}Zxh  
2{- };  
struts.devMode IB'gY0*  
      Whether Struts is in development mode or not T-;|E^  
      是否为struts开发模式 i4Ps#R_wx  
<Mt>v2a3Y  
struts.dispatcher.parametersWorkaround +2qCH^80  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }K rQPg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nm8XHk]  
I%8>nMTJ  
struts.enable.DynamicMethodInvocation h$[tEmD%  
      Allows one to disable dynamic method invocation from the URL ;5ANw"Dq  
        允许动态方法调用 li4"|T&  
\$Jz26 -n  
struts.freemarker.manager.classname 3Z taj^v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `vMrlKq  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,MmX(O0  
km 0LLYG  
struts.i18n.encoding ZQ MK1  
      The encoding to use for localization messages PQ}owEJ2eM  
      国际化信息内码 )0tq&  
Ub"6OT1tl  
struts.i18n.reload \DgWp:|  
      Whether the localization messages should automatically be reloaded `~+1i5-}  
      是否国际化信息自动加载  x%$as;  
M%aA1!@/  
struts.locale qs Uob   
      The default locale for the Struts application Qf$3!O}G  
      默认的国际化地区信息 s|q]11r+H  
n0T>sE -9  
struts.mapper.class l ;fO]{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5GHW~q!Zo\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MlVVST  
vgyv~Px]AW  
struts.multipart.maxSize fRow@DI\  
      The maximize size of a multipart request (file upload) @D3|Ak1  
      multipart请求信息的最大尺寸(文件上传用) 7)FI_uW  
FL8?<bU  
struts.multipart.parser sf(2~BMQI  
      The org.apache.struts2.dispatcher.multipart. iN]#XIQ%  
      MultiPartRequest parser implementation for a multipart request (file upload) $={^':Uh  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?Z{:[.  
&>KZ4%&?  
V']{n7a-  
struts.multipart.saveDir UbDRE[^P  
      The directory to use for storing uploaded files D'UYHc {  
      设置存储上传文件的目录夹 Bq# l8u  
0DR:qw  
struts.objectFactory l` M7a9*U  
      The com.opensymphony.xwork2.ObjectFactory implementation class uY"Bgz:=d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) B}|(/a@*  
7c7:B2Lq  
struts.objectFactory.spring.autoWire aplOo[  
      Whether Spring should autoWire or not X v2u7T\  
      是否自动绑定Spring +kdZfv>  
+Vsd%AnN"l  
struts.objectFactory.spring.useClassCache |."thTO  
      Whether Spring should use its class cache or not '4 x uH3  
      是否spring应该使用自身的cache &|j^?ro6  
YYzl"<)c  
struts.objectTypeDeterminer /OaW4 b$Tz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class So^;5tG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {rE]y C^  
E5EAk6  
struts.serve.static.browserCache E#I^D/0  
If static content served by the Struts filter should set browser caching header properties or not 6%8,OOS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `& rt>Bk /  
^XbN&'^,HL  
struts.serve.static l^"HcP6  
      Whether the Struts filter should serve static content or not F ~O}@e{  
      是否struts过滤器应该提供静态内容 due'c!wW  
 Q&d"uLsx  
struts.tag.altSyntax v_s(  
      Whether to use the alterative syntax for the tags or not Hb :@]!r>  
      是否可以用替代的语法替代tags ns/L./z  
{;0+N -U  
struts.ui.templateDir ? 016  
      The directory containing UI templates N%K%0o-  
      UI templates的目录夹 ?--EIA8mfp  
MNzWTn@  
struts.ui.theme <dAD-2O+  
      The default UI template theme q/N1q&  
      默认的UI template主题 9}_ccq  
Bf-KCqC".  
struts.url.http.port CPj8`kl  
      The HTTP port used by Struts URLs p~!UE/V  
      设置http端口 i[\`]C{gf  
DGY?4r7>y  
struts.url.https.port S.$/uDwo  
      The HTTPS port used by Struts URLs hDsSOpj  
      设置https端口 6_#:LFke  
rgOc+[X  
struts.url.includeParams [fjP.kw;J  
      The default includeParams method to generate Struts URLs ( ;(DI^Un8  
      在url中产生 默认的includeParams dRXEF6G  
FWJhi$\:D]  
.dvOUt I[  
struts.velocity.configfile -%g&O-i\  
      The Velocity configuration file path L=1~)>mP  
      velocity配置文件路径 |[lmW%  
/ ~\ I  
struts.velocity.contexts %x2_njDd  
      List of Velocity context names D+u#!t[q  
      velocity的context列表 <RFT W}f!  
zZ11J0UI  
5 ?{ytNCY  
struts.velocity.manager.classname `Zm- F  
      org.apache.struts2.views.velocity.VelocityManager implementation class %0<-5&GE  
      org.apache.struts2.views.velocity.VelocityManager接口名 hfBZ:es+  
ys#V_ysb  
struts.velocity.toolboxlocation {"x>ewAf  
      The location of the Velocity toolbox h jCkj(b  
      velocity工具盒的位置  \W',g[Y:  
struts.xslt.nocache 6|O2i j-J  
      Whether or not XSLT templates should not be cached U/|;u;H=  
      是否XSLT模版应该被缓存 %JsCw8C6?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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