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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <9@7,2  
MV+i{]  
struts.action.extension 3;$bS<>  
      The URL extension to use to determine if the request is meant for a Struts action PDw{R]V+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BSXdvI1y  
+lp{#1q0  
struts.configuration "D> ]ES%5  
      The org.apache.struts2.config.Configuration implementation class ValS8V*N1  
        org.apache.struts2.config.Configuration接口名  pbB2wt  
&v# `t~  
struts.configuration.files : d'65KMi  
      A list of configuration files automatically loaded by Struts [}""@?  
      struts自动加载的一个配置文件列表 dc^Vc{26Z  
}. %s xw  
struts.configuration.xml.reload 9NIy#  
      Whether to reload the XML configuration or not & 5 <**  
      是否加载xml配置(true,false) rFXSO=P?Z  
2mJ:c  
struts.continuations.package c%<2z  
      The package containing actions that use Rife continuations IUhp;iH  
      含有actions的完整连续的package名称 (iDBhC;/B  
b>q6:=((  
struts.custom.i18n.resources 6 S*zzJ.0K  
      Location of additional localization properties files to load 6$B'Q30}r  
      加载附加的国际化属性文件(不包含.properties后缀) LZ&uj{ <  
b!~TAT&8  
struts.custom.properties  *q"G }  
      Location of additional configuration properties files to load %yw=[]Vjze  
      加载附加的配置文件的位置 8[\ 79|  
I]sqi#h$2W  
f4]&pcK  
struts.devMode +Hy4s[_|  
      Whether Struts is in development mode or not ABWb>EZ8  
      是否为struts开发模式 Z>{*ISvpq  
q0|Z oP  
struts.dispatcher.parametersWorkaround z<QIuq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic SL*DK.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E*4t8  
 Rkv  
struts.enable.DynamicMethodInvocation >6K4b/.5w  
      Allows one to disable dynamic method invocation from the URL m'.T2e.u  
        允许动态方法调用 4]"w b5%  
n2 na9dX)w  
struts.freemarker.manager.classname [a D:A  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xT+ ;w[s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 OPJgIU%  
C5B=NAc  
struts.i18n.encoding Dh8(HiXf:  
      The encoding to use for localization messages _SF!T6A  
      国际化信息内码 XWF7#xM  
JFJIls  
struts.i18n.reload oQBiPN+v.3  
      Whether the localization messages should automatically be reloaded ^fZGX<fH   
      是否国际化信息自动加载 D5[VK `4Z  
n `#+L~X  
struts.locale G"fdu(.@  
      The default locale for the Struts application W%zmD Hk~  
      默认的国际化地区信息 qj;l,Kua  
fB[\("+  
struts.mapper.class 1HXlHic  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :xN8R^(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;Bnr=' [  
Cji#?!Ra?  
struts.multipart.maxSize Rf8:+d[Jj|  
      The maximize size of a multipart request (file upload) b60[({A\s&  
      multipart请求信息的最大尺寸(文件上传用) b#}t:yy  
?k w/S4  
struts.multipart.parser (l;C%O7*  
      The org.apache.struts2.dispatcher.multipart. 4 f3=`[%  
      MultiPartRequest parser implementation for a multipart request (file upload) !SN WB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u mqKFM$  
wjg}[R@!  
>~>{;Wq(p+  
struts.multipart.saveDir -}AE\qXs/  
      The directory to use for storing uploaded files Ku&*`dME  
      设置存储上传文件的目录夹 >EeAPO4  
$Gd5wmb!  
struts.objectFactory q1<Fg.-r  
      The com.opensymphony.xwork2.ObjectFactory implementation class o>$|SU!a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7zi"caY  
-Cml0}.O   
struts.objectFactory.spring.autoWire ]#M/$?!]g2  
      Whether Spring should autoWire or not H&u4v2  
      是否自动绑定Spring w1.MhA  
w+3>DEfz  
struts.objectFactory.spring.useClassCache ^VC7C~NZ!M  
      Whether Spring should use its class cache or not ?bn;{c;E  
      是否spring应该使用自身的cache CElPU`J,\[  
,?;sT`Mh)  
struts.objectTypeDeterminer 5@CpP-W#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bA0uGLc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Bd.Z+#%l"  
Yo@m50s$  
struts.serve.static.browserCache D'85VZEFyo  
If static content served by the Struts filter should set browser caching header properties or not oFwG+W /  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 widI s[ )  
)fy <P;g  
struts.serve.static ~t$mw,  
      Whether the Struts filter should serve static content or not A &;EV#]ge  
      是否struts过滤器应该提供静态内容 hq]xmM?&  
a$laRtId7  
struts.tag.altSyntax S]5VEn;pV  
      Whether to use the alterative syntax for the tags or not 4*YOFU}l  
      是否可以用替代的语法替代tags L;4[ k;5  
@\S]]oLn  
struts.ui.templateDir @yCW8]  
      The directory containing UI templates ;7wwY$PBH  
      UI templates的目录夹 ;!^ +N  
nq),VPJi  
struts.ui.theme pqkcf \  
      The default UI template theme - a   
      默认的UI template主题 K`,nW6\  
X9DM ^tt  
struts.url.http.port 2Ti" s-  
      The HTTP port used by Struts URLs <!$dp9y.  
      设置http端口 ^! $} BY  
A8#.1uEgNb  
struts.url.https.port /0Rt+`  
      The HTTPS port used by Struts URLs (QA-"9v#i,  
      设置https端口 .jLMl*6%:  
&S9f#Ui  
struts.url.includeParams 0zlM.rjEZ  
      The default includeParams method to generate Struts URLs y*y`t6D  
      在url中产生 默认的includeParams e~tr^$/(  
iLjuE)6-$  
-B<O_*wOj  
struts.velocity.configfile }g%KvYB_  
      The Velocity configuration file path E~rs11  
      velocity配置文件路径 :5$xh  
( [K2:n\  
struts.velocity.contexts v; je<DT  
      List of Velocity context names y21)~  
      velocity的context列表 Fl8w7LcF7  
M@',3  
.vCY%0oE  
struts.velocity.manager.classname ._8xY$l$  
      org.apache.struts2.views.velocity.VelocityManager implementation class deR$  
      org.apache.struts2.views.velocity.VelocityManager接口名 L$oia)%t-  
; ,Of\Efc|  
struts.velocity.toolboxlocation 7KvXTrN!9  
      The location of the Velocity toolbox CsJ)Z%4_  
      velocity工具盒的位置 -d$8WSI 8  
struts.xslt.nocache iSSc5ek4  
      Whether or not XSLT templates should not be cached e{^:/WcYB  
      是否XSLT模版应该被缓存 P-/XYZ]`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五