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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (n{sp  
QC:/xP  
struts.action.extension \Yv<Tz J9  
      The URL extension to use to determine if the request is meant for a Struts action PPCZT3c=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Uk5O9D0 He  
5- Q`v/w;  
struts.configuration H!dUQ  
      The org.apache.struts2.config.Configuration implementation class MxiU-  
        org.apache.struts2.config.Configuration接口名 ailje  
dvUBuY^[  
struts.configuration.files K`PmWxNPh  
      A list of configuration files automatically loaded by Struts V'h O  
      struts自动加载的一个配置文件列表 7#Qa/[? D  
-C$Z%I7 0  
struts.configuration.xml.reload g%w@v$  
      Whether to reload the XML configuration or not [kqxC  
      是否加载xml配置(true,false) S fE^'G\  
W-Cf#o  
struts.continuations.package EXz5Rue LV  
      The package containing actions that use Rife continuations I>b-w;cC  
      含有actions的完整连续的package名称 +NRn>1]  
hA`>SkO  
struts.custom.i18n.resources ;S+c<MSl  
      Location of additional localization properties files to load mY9u/; dK  
      加载附加的国际化属性文件(不包含.properties后缀) YWA:741  
NEQcEUd?  
struts.custom.properties b~ ?TDm7  
      Location of additional configuration properties files to load R6 w K'  
      加载附加的配置文件的位置 2aUz.k8o  
xh> /bU!>  
H[%F o  
struts.devMode WG 9f>kE  
      Whether Struts is in development mode or not to Ei4u)m  
      是否为struts开发模式 (^g?/i1@d  
!x.^ya  
struts.dispatcher.parametersWorkaround 7p}G!]`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^o't &  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o a,Ju  
tkdhT8_  
struts.enable.DynamicMethodInvocation qR<  
      Allows one to disable dynamic method invocation from the URL }+`W[h&u  
        允许动态方法调用 {jzN  
5=Bj?xb$'  
struts.freemarker.manager.classname w <]7:/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class lh* m(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 GK}?*Lf s  
\S;% "0!  
struts.i18n.encoding wxZnuCO%H8  
      The encoding to use for localization messages fiTMS:  
      国际化信息内码 fmie,[  
jG{} b6  
struts.i18n.reload S>7Zq5*  
      Whether the localization messages should automatically be reloaded kP%W:4l0  
      是否国际化信息自动加载 ua:.97~Ym  
CGg:e:4  
struts.locale |6B:tw/.  
      The default locale for the Struts application 32:,g4!~6  
      默认的国际化地区信息 %dZD;Vhg  
xtjTU;T  
struts.mapper.class 9Q :IgY?T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o]#Q6J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !mL,Ue3/  
ac.O#6&  
struts.multipart.maxSize \E.t=XBn  
      The maximize size of a multipart request (file upload) 14\%2nE  
      multipart请求信息的最大尺寸(文件上传用) .]ZM2  
{mL/)\  
struts.multipart.parser ORa!84L  
      The org.apache.struts2.dispatcher.multipart. &F\J%#{  
      MultiPartRequest parser implementation for a multipart request (file upload) 9G_=)8sOV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `. %;|"xR  
d8M"vd  
,?B.+4CW\E  
struts.multipart.saveDir ?OKm~ Ek  
      The directory to use for storing uploaded files *6*#"#D  
      设置存储上传文件的目录夹 cFUYT$8>  
d^ !3bv*h  
struts.objectFactory H'I|tPs  
      The com.opensymphony.xwork2.ObjectFactory implementation class CV4V_G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U^Z[6u  
0s0[U  
struts.objectFactory.spring.autoWire 5HG 7M&_  
      Whether Spring should autoWire or not 4PiNQ'*  
      是否自动绑定Spring XoSjYG(>,  
p"H8;fPA0  
struts.objectFactory.spring.useClassCache r_xo>y~S  
      Whether Spring should use its class cache or not fY=iQ?{/[  
      是否spring应该使用自身的cache &X+V}  
d5A!kU _.  
struts.objectTypeDeterminer Z;S*fS-_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z/wh?K3y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Dr`\  
&t%CuU]/@  
struts.serve.static.browserCache QVn0!R{  
If static content served by the Struts filter should set browser caching header properties or not { r&M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -xXNzC   
d(wqKiGwe  
struts.serve.static 'n:Ft  
      Whether the Struts filter should serve static content or not %~p_bKd~  
      是否struts过滤器应该提供静态内容 N/{A ' Wd  
yN3Tk}{V  
struts.tag.altSyntax lha )'   
      Whether to use the alterative syntax for the tags or not  8k J k5  
      是否可以用替代的语法替代tags '0 ( Bb  
_$ixE~w-!  
struts.ui.templateDir T|.Q81.NE  
      The directory containing UI templates !u6~#.7  
      UI templates的目录夹 ?RpT_u  
bwVv#Z\r  
struts.ui.theme a #@Q.wL  
      The default UI template theme --.j&w  
      默认的UI template主题 9^a>U(,  
|B`-chK  
struts.url.http.port C2<y(GU[Bh  
      The HTTP port used by Struts URLs NYP3uGH]  
      设置http端口 -&)^|Atm  
sF+0v p  
struts.url.https.port Nr`nL_DQ  
      The HTTPS port used by Struts URLs lR.a3.~  
      设置https端口 {+xUAmd  
u~s'<c+8_  
struts.url.includeParams dt`L}Yi  
      The default includeParams method to generate Struts URLs =AD/5E,3  
      在url中产生 默认的includeParams %4 SREq  
3]N}k|lb%  
_D,8`na>K  
struts.velocity.configfile tB_V%qH  
      The Velocity configuration file path hsqUiB tc6  
      velocity配置文件路径 W$'pUhq\H  
C9=f=sGL  
struts.velocity.contexts J$e.$ah;  
      List of Velocity context names K,IOD t  
      velocity的context列表 N7oMtlvL[w  
J~_p2TZJ\3  
J.<eX=<  
struts.velocity.manager.classname l*v([@A\  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3~cOQ%#]4  
      org.apache.struts2.views.velocity.VelocityManager接口名 A^K,[8VX  
M%B[>pONb7  
struts.velocity.toolboxlocation l m  
      The location of the Velocity toolbox SAH\'v0  
      velocity工具盒的位置 NPoXz  
struts.xslt.nocache ,O[vxN1X*  
      Whether or not XSLT templates should not be cached )D[ypuM&  
      是否XSLT模版应该被缓存 BB%(!O4Dl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八