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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +adwEYRrr  
uHeKttR-  
struts.action.extension ~ kwS`  
      The URL extension to use to determine if the request is meant for a Struts action 4Dy|YH$>S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 " rA-u)Te  
[|&#A;{F#  
struts.configuration y~Z7sx0  
      The org.apache.struts2.config.Configuration implementation class =aBc .PJ^  
        org.apache.struts2.config.Configuration接口名 )5Wt(p:T6_  
{;5\#VFg  
struts.configuration.files /#}o19(-d  
      A list of configuration files automatically loaded by Struts {^":^N)  
      struts自动加载的一个配置文件列表 QZ& 4W  
k@Qd:I;;  
struts.configuration.xml.reload `NySTd)\  
      Whether to reload the XML configuration or not 8Wba Hw_  
      是否加载xml配置(true,false) 56o(gCj?y  
PCx:  
struts.continuations.package G,!{Q''w  
      The package containing actions that use Rife continuations hh!4DHv   
      含有actions的完整连续的package名称 X4eoE  
dk/f_m  
struts.custom.i18n.resources = IJ}b=:  
      Location of additional localization properties files to load +\-cf,WkI  
      加载附加的国际化属性文件(不包含.properties后缀) $+|. @ss  
YWAH(  
struts.custom.properties Z H2   
      Location of additional configuration properties files to load nvB< pSm  
      加载附加的配置文件的位置 nc3u sq  
!?)aZ |r  
n|fKwWB\  
struts.devMode s~06%QEG  
      Whether Struts is in development mode or not 6L"b O'_5K  
      是否为struts开发模式 #(}'G*  
}Q a  
struts.dispatcher.parametersWorkaround ,Cd4Q7T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [}I|tb>Pg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oT0:Ny  
<ivq}(%72  
struts.enable.DynamicMethodInvocation qnFg7X>C,  
      Allows one to disable dynamic method invocation from the URL _MW W  
        允许动态方法调用 3/y"kl:< -  
Ax6zx  
struts.freemarker.manager.classname yMEI^,0"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !t[;~`d9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cJ\ 1ndBH  
?)gc;K  
struts.i18n.encoding 4C[kj  
      The encoding to use for localization messages dTWcn7C  
      国际化信息内码 N6Dv1_c,  
t>P[Yld"  
struts.i18n.reload e=+q*]>  
      Whether the localization messages should automatically be reloaded >}B53.;.k  
      是否国际化信息自动加载 Bk] `n'W  
LJA uTg  
struts.locale /[5\T2GI   
      The default locale for the Struts application >>c%I c  
      默认的国际化地区信息 =zR9^k  
Gd`s01GKQ  
struts.mapper.class ~x[(1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7)RRCsn  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]E.\ |I(  
'|}H ,I{  
struts.multipart.maxSize >`^;h]Q  
      The maximize size of a multipart request (file upload) CDY3+!  
      multipart请求信息的最大尺寸(文件上传用) dXPTW;w  
tkmzOc H  
struts.multipart.parser _q4Yq'dI  
      The org.apache.struts2.dispatcher.multipart. ju!V1ky  
      MultiPartRequest parser implementation for a multipart request (file upload) L#WGOl  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J3XG?' }  
9rIv-&7'm  
Q9c*I,O j  
struts.multipart.saveDir dGUiMix{N  
      The directory to use for storing uploaded files a^Z=xlJ/uZ  
      设置存储上传文件的目录夹 Ce~Pms]  
l3+G]C&<  
struts.objectFactory .$1S-+(kV  
      The com.opensymphony.xwork2.ObjectFactory implementation class t>Yl= 79,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !?sB=qo  
,kUg"\_k  
struts.objectFactory.spring.autoWire Zq 'FOzs  
      Whether Spring should autoWire or not E2tUL#  
      是否自动绑定Spring N'PK4:  
oFhBq0@  
struts.objectFactory.spring.useClassCache Esm=sPW  
      Whether Spring should use its class cache or not t~$8sG\  
      是否spring应该使用自身的cache >|0 I\{ C  
a|DCpU}  
struts.objectTypeDeterminer TxH amI l  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D&=+PAX  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )`S5>[6  
3T>6Q#W5eO  
struts.serve.static.browserCache NZlCn:"  
If static content served by the Struts filter should set browser caching header properties or not 7#N ?{3i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a '?LC)^  
n<F3&2w  
struts.serve.static TW wE3{iF  
      Whether the Struts filter should serve static content or not Y/LS(b*  
      是否struts过滤器应该提供静态内容 4hYK$!"r  
Pb1.X9*8c  
struts.tag.altSyntax 8Q0/kG  
      Whether to use the alterative syntax for the tags or not "Z~@"JLb%  
      是否可以用替代的语法替代tags LoOw]@>  
(4IP&^j:\  
struts.ui.templateDir C' WX$!$d  
      The directory containing UI templates C+_UI x]A  
      UI templates的目录夹 EWXv3N2)  
l\!`ZhM,  
struts.ui.theme o5YL_=7m  
      The default UI template theme "D:?l`\o  
      默认的UI template主题 LoSrXK~0~J  
}9N-2]  
struts.url.http.port QWWI  
      The HTTP port used by Struts URLs L>lxkq8!Q  
      设置http端口 mR|']^!SE  
R%\<al$O  
struts.url.https.port J3/e;5w2Z  
      The HTTPS port used by Struts URLs ) r"7"i  
      设置https端口 m:k;?p:x  
hpq\  
struts.url.includeParams 32pPeYxB!-  
      The default includeParams method to generate Struts URLs oW>e.}d!  
      在url中产生 默认的includeParams IR&b2FTcU  
{bC(>k|CQ  
Fh&USn"  
struts.velocity.configfile ;y)3/46S  
      The Velocity configuration file path DYrci?8Ith  
      velocity配置文件路径 KI].T+I  
QHsJo|.  
struts.velocity.contexts + (`.pa z@  
      List of Velocity context names 1suP7o A;  
      velocity的context列表 i3) 7Qa[  
! GtF%V  
^rGuyW#  
struts.velocity.manager.classname LaL{ ^wP  
      org.apache.struts2.views.velocity.VelocityManager implementation class !u/c'ZLZ>  
      org.apache.struts2.views.velocity.VelocityManager接口名 Cd_H<8__  
=(bTS n  
struts.velocity.toolboxlocation kk OjAp{<t  
      The location of the Velocity toolbox `'9t^ 6mk  
      velocity工具盒的位置 k`\L-*:Ji  
struts.xslt.nocache a4]=4[(iu>  
      Whether or not XSLT templates should not be cached |-%dN }O  
      是否XSLT模版应该被缓存 E};1 H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五