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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5fRrd;  
frc9   
struts.action.extension WF:4p]0~)  
      The URL extension to use to determine if the request is meant for a Struts action +S WtHj7e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x_CY`Y  
nu Vux5:  
struts.configuration %cBOi_}}~  
      The org.apache.struts2.config.Configuration implementation class GWLdz0`2_  
        org.apache.struts2.config.Configuration接口名 6s'n r7'0  
P@D\5}*6  
struts.configuration.files &xZSM,  
      A list of configuration files automatically loaded by Struts f8ZuG !U  
      struts自动加载的一个配置文件列表 J *38GX+  
T 2_iH=u  
struts.configuration.xml.reload z$L e,+  
      Whether to reload the XML configuration or not O3mw5<%15  
      是否加载xml配置(true,false) {rK]Q! yj  
5{#s<%b.  
struts.continuations.package /8!n7a7  
      The package containing actions that use Rife continuations : dNJ2&kJ  
      含有actions的完整连续的package名称 c,O;B_}M]  
62MQ+H  
struts.custom.i18n.resources H_Xk;fM  
      Location of additional localization properties files to load [4aw*M1z}.  
      加载附加的国际化属性文件(不包含.properties后缀) e=aU9v L  
_#MKpH  
struts.custom.properties OCq5}%yU&i  
      Location of additional configuration properties files to load O /:FY1  
      加载附加的配置文件的位置 .Z#/%y3S  
.;qh>Gt  
\ \Tz'>[\  
struts.devMode o';/$xrH  
      Whether Struts is in development mode or not |,~ )/o_R  
      是否为struts开发模式 _!!Fg%a5"R  
42p1P6d  
struts.dispatcher.parametersWorkaround cx ("F /Jm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bwcr/J( Nb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {jH'W)nR  
/h{Rf,H  
struts.enable.DynamicMethodInvocation Pf<yLT]  
      Allows one to disable dynamic method invocation from the URL =9W\;xE S  
        允许动态方法调用 Yi)s=Q:  
+S[3HX7H  
struts.freemarker.manager.classname */_'pt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BFg&@7.X  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -(>Ch>O  
/HS"{@Z"h  
struts.i18n.encoding U]w"T{;@.)  
      The encoding to use for localization messages iK+Vla`}  
      国际化信息内码 SWY  
%4Qs|CM)m  
struts.i18n.reload jwBJG7\  
      Whether the localization messages should automatically be reloaded gujP{Z  
      是否国际化信息自动加载 eO(U):C2  
vC `SD]  
struts.locale u"m(a:jQ  
      The default locale for the Struts application )J0h\ky  
      默认的国际化地区信息 &6 <a<S  
\v5;t9uBZ  
struts.mapper.class &"I csxG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +4 Pes  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )p1~Jx(\  
a@ <-L  
struts.multipart.maxSize KX 7 fgC  
      The maximize size of a multipart request (file upload) 5ya^k{`+ZO  
      multipart请求信息的最大尺寸(文件上传用) v3FdlE  
QIlZZ  
struts.multipart.parser )wCNLi>4  
      The org.apache.struts2.dispatcher.multipart. j*Pq<[~  
      MultiPartRequest parser implementation for a multipart request (file upload) hV0fkQ.|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ox&G  [  
t|i<}2  
:$,MAQ'9  
struts.multipart.saveDir YURMXbj  
      The directory to use for storing uploaded files i}P{{kMJ  
      设置存储上传文件的目录夹 < F;+A{M)  
*o4a<.hd2  
struts.objectFactory LX oJw$C  
      The com.opensymphony.xwork2.ObjectFactory implementation class u:2Ll[ eo  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $7c,<=  
u4w!SD  
struts.objectFactory.spring.autoWire M<n'ZDK `W  
      Whether Spring should autoWire or not uf9&o#  
      是否自动绑定Spring _8 |X820  
f$:SacF  
struts.objectFactory.spring.useClassCache '&B4Ccn<V  
      Whether Spring should use its class cache or not 9J?s:"j  
      是否spring应该使用自身的cache {&mH fN  
3B 'j?+A  
struts.objectTypeDeterminer ) y;7\-K0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )"6-7ii7(f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y32$b,%Xi,  
F]?] |nZZ  
struts.serve.static.browserCache vno/V#e$WX  
If static content served by the Struts filter should set browser caching header properties or not FA$32*v  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2~?E'  
kDWEgnXK,v  
struts.serve.static kVs YB  
      Whether the Struts filter should serve static content or not [K\b"^=<  
      是否struts过滤器应该提供静态内容 |?2fq&2  
dp'[I:X  
struts.tag.altSyntax 6`@J=Q?  
      Whether to use the alterative syntax for the tags or not ,r;xH}tbi  
      是否可以用替代的语法替代tags h )5S4)  
Z 9+fTT  
struts.ui.templateDir w,FPL&{  
      The directory containing UI templates ">z3i`#C'  
      UI templates的目录夹 !Vw1w1  
)j>U4a  
struts.ui.theme -LszaMR}  
      The default UI template theme 8Ejb/W_  
      默认的UI template主题 p ZTrh&I]  
Gw$5<%sB  
struts.url.http.port I"vkfi#=  
      The HTTP port used by Struts URLs qz>R"pj0g  
      设置http端口 rFQWgWD  
ud$-A  
struts.url.https.port  Q}L?o  
      The HTTPS port used by Struts URLs x'I!f? / &  
      设置https端口 r9})~>   
([dd)QU  
struts.url.includeParams Nb`qM]&  
      The default includeParams method to generate Struts URLs n%7?G=_kj  
      在url中产生 默认的includeParams ?e<2'\5v  
z m$Sw0#(  
gE#'Zv{7  
struts.velocity.configfile " L`)^  
      The Velocity configuration file path daI_@kY"  
      velocity配置文件路径 j/*1zu8Y  
Ct w<-'  
struts.velocity.contexts g=56|G7n  
      List of Velocity context names \H@1VgmR;  
      velocity的context列表 Zob/H+]  
]$[sfPKA  
SscB&{f  
struts.velocity.manager.classname Km8aHc]O~  
      org.apache.struts2.views.velocity.VelocityManager implementation class W-n4w Ij"  
      org.apache.struts2.views.velocity.VelocityManager接口名 TB! I  
, ,{UGe 3  
struts.velocity.toolboxlocation d}h{#va*  
      The location of the Velocity toolbox MxIa,M <  
      velocity工具盒的位置 akzGJ3g  
struts.xslt.nocache 6(f 'P_*  
      Whether or not XSLT templates should not be cached pi?MAE*f  
      是否XSLT模版应该被缓存 TQF+aP8[L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八