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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ReG O9}  
omUl2C  
struts.action.extension ;ZqD60%\  
      The URL extension to use to determine if the request is meant for a Struts action CsST-qxg  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ][$$  =  
yn ?U7`V  
struts.configuration !f]3Riw-=,  
      The org.apache.struts2.config.Configuration implementation class J\,e/{,X  
        org.apache.struts2.config.Configuration接口名 hoD[wAC  
.n|3A3:  
struts.configuration.files WG[0$j  
      A list of configuration files automatically loaded by Struts :+Je989\[C  
      struts自动加载的一个配置文件列表 .D2ub/er  
0?4^.N n3  
struts.configuration.xml.reload  V\7u  
      Whether to reload the XML configuration or not bM3'm$34  
      是否加载xml配置(true,false) t"74HZO >  
MT#[ - M\  
struts.continuations.package 7zk m  
      The package containing actions that use Rife continuations  d7-F&!sQ  
      含有actions的完整连续的package名称 aid)q&AcQ  
5A=xFj{  
struts.custom.i18n.resources !E>3N:  
      Location of additional localization properties files to load jQwg)E+o;  
      加载附加的国际化属性文件(不包含.properties后缀) v'Py[[R  
^&w'`-ra  
struts.custom.properties ;uo|4?E:\(  
      Location of additional configuration properties files to load UNH}*]u4`  
      加载附加的配置文件的位置 Y8CYkJTAD-  
O6/=/-?N=c  
8'_ ]gfF  
struts.devMode VTX'f2\  
      Whether Struts is in development mode or not PQ!?gj  
      是否为struts开发模式 BxN#Nk~  
 S~5 =1b  
struts.dispatcher.parametersWorkaround &WWO13\qd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9{J8q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~[X:twidkL  
Z(`K6`KM  
struts.enable.DynamicMethodInvocation Z_ *ZUN?B  
      Allows one to disable dynamic method invocation from the URL w7ABnX  
        允许动态方法调用 K/LaA4  
=VI`CBQ/Um  
struts.freemarker.manager.classname -){^ Q:u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oIR%{`3"I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 58gt*yVu  
1XKIK(l  
struts.i18n.encoding Z.Y8z#[xg  
      The encoding to use for localization messages $HnD|_*  
      国际化信息内码 lV*&^Q8.  
+wgUs*(W  
struts.i18n.reload Fe>#}-`  
      Whether the localization messages should automatically be reloaded ,4I6RwB.  
      是否国际化信息自动加载 l[j0(T  
AE@Rn(1.  
struts.locale oTa+E'q  
      The default locale for the Struts application NZ? =pfK\s  
      默认的国际化地区信息 E]Gq!fA&<  
;0}"2aGY  
struts.mapper.class Z"8cGN'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9*Mg<P"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 eMMiSO!3  
VQJ5$4a&  
struts.multipart.maxSize mp$II?hZ*  
      The maximize size of a multipart request (file upload) Rn ^N+3o'M  
      multipart请求信息的最大尺寸(文件上传用) #+Gs{iXr  
t $ ~:C  
struts.multipart.parser ;."{0gq  
      The org.apache.struts2.dispatcher.multipart. f2K3*}P  
      MultiPartRequest parser implementation for a multipart request (file upload) $fpDABf  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '`VO@a  
G!lykk]  
]V7hl#VO  
struts.multipart.saveDir BHBR_7  
      The directory to use for storing uploaded files VTkT4C@I;Y  
      设置存储上传文件的目录夹 IaqN@IlWb  
IZ ha* 7  
struts.objectFactory N@ tb^M  
      The com.opensymphony.xwork2.ObjectFactory implementation class yq^$H^_O p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Z19y5?uR  
:EAfD(D{)  
struts.objectFactory.spring.autoWire X7!A(q+h  
      Whether Spring should autoWire or not ~$9"|  
      是否自动绑定Spring H zK=UcD  
( I~XwP&  
struts.objectFactory.spring.useClassCache e/l?|+m 6  
      Whether Spring should use its class cache or not T>?1+mruM  
      是否spring应该使用自身的cache : .eS|  
oO,p.X%  
struts.objectTypeDeterminer vx,6::%]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PltPIu)F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C'"6@-~  
{i?K~| h  
struts.serve.static.browserCache Z.19v>-c  
If static content served by the Struts filter should set browser caching header properties or not 4ov~y1Da)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZACn_gd[5  
je0 ?iovY  
struts.serve.static !kYmrj**  
      Whether the Struts filter should serve static content or not +DDvM;31w  
      是否struts过滤器应该提供静态内容 v:ZD}Q_  
ZuON@(  
struts.tag.altSyntax 1&WFs6  
      Whether to use the alterative syntax for the tags or not [r~l O@  
      是否可以用替代的语法替代tags e6/} M3B  
;<Q_4 V  
struts.ui.templateDir MYm6C;o$  
      The directory containing UI templates %iML??S  
      UI templates的目录夹 7~f l4*  
W12K93tO  
struts.ui.theme +{*&I DW  
      The default UI template theme au v\fR :  
      默认的UI template主题 mcracj[ B  
~-zC8._w3r  
struts.url.http.port 8gdOQ=a  
      The HTTP port used by Struts URLs {hR23eE)#  
      设置http端口 <>GyG-q  
1 ErYob.p  
struts.url.https.port l{yPO@ut`F  
      The HTTPS port used by Struts URLs 1+#8} z:  
      设置https端口 ;RYKqUE  
M?`06jQD.  
struts.url.includeParams 1jb@n xRjO  
      The default includeParams method to generate Struts URLs V19*~v=u  
      在url中产生 默认的includeParams AEJm/8,T  
M>j)6?n`_  
oPV"JGa/B4  
struts.velocity.configfile : Dlk `?  
      The Velocity configuration file path BcWReyO<M  
      velocity配置文件路径 W525:h52{  
+ u+fEg/A  
struts.velocity.contexts G[ea@u$?  
      List of Velocity context names x@)u:0  
      velocity的context列表 R& A.F+Zgt  
b/`' ?| C  
j|9 2 g  
struts.velocity.manager.classname 3WHH3co[  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q[^d{e*l  
      org.apache.struts2.views.velocity.VelocityManager接口名 bx> D  
vC1 `m  
struts.velocity.toolboxlocation d+;~x*  
      The location of the Velocity toolbox ,`b9c=6;  
      velocity工具盒的位置 &~EOM  
struts.xslt.nocache :Vc9||k  
      Whether or not XSLT templates should not be cached aDESO5  
      是否XSLT模版应该被缓存 O!jCQ{ T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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