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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \D k^\-  
n8D;6#P^  
struts.action.extension O.f3 (e!  
      The URL extension to use to determine if the request is meant for a Struts action X?xm1|\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 c@{^3V##T  
aZ3 #g  
struts.configuration 1ucUnNkcV  
      The org.apache.struts2.config.Configuration implementation class U1tPw`0h  
        org.apache.struts2.config.Configuration接口名 f5XcBW9E  
WSccR  
struts.configuration.files 1,D ^,  
      A list of configuration files automatically loaded by Struts aL6 5t\2  
      struts自动加载的一个配置文件列表 @9 tv N}  
I{UB!0H  
struts.configuration.xml.reload 7ib<Cb>K  
      Whether to reload the XML configuration or not #yOY&W:N  
      是否加载xml配置(true,false) znpZ0O\!  
0`zq*OQ  
struts.continuations.package `,=p\g|D  
      The package containing actions that use Rife continuations j~> #{"C  
      含有actions的完整连续的package名称 qiJ;v1  
j 0NPd^  
struts.custom.i18n.resources <[??\YOc  
      Location of additional localization properties files to load j?ubh{Izm  
      加载附加的国际化属性文件(不包含.properties后缀) 5]ob;tAm  
e%7P$.  
struts.custom.properties [<Puh  
      Location of additional configuration properties files to load #yxYL0CcA:  
      加载附加的配置文件的位置 hpKc_|un  
:WTvP$R  
S$:S*6M@"  
struts.devMode iJ#oI@s  
      Whether Struts is in development mode or not Q%d[ U4@  
      是否为struts开发模式 *#9kFz-  
Ykq }9  
struts.dispatcher.parametersWorkaround $)a5;--W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,fL e%RP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }i~j"m  
g{{SY5qDj  
struts.enable.DynamicMethodInvocation U^S:2  
      Allows one to disable dynamic method invocation from the URL nrhpI d  
        允许动态方法调用 4tKf  
AMfu|%ZL  
struts.freemarker.manager.classname I#e*,#'S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QNBzc {XB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %?wE/LU>  
EU~'n-  
struts.i18n.encoding @&> +`kgU-  
      The encoding to use for localization messages @3D%i#2o&[  
      国际化信息内码 zOp"n\  
S(xA}0]  
struts.i18n.reload i<![i5uAI  
      Whether the localization messages should automatically be reloaded ]c+'SJQ  
      是否国际化信息自动加载 >u[ln@ l  
c(JO;=,@9  
struts.locale 2M`Ni&v  
      The default locale for the Struts application n-WvIy  
      默认的国际化地区信息 nJw1Sl5  
g}h0J%s  
struts.mapper.class NE nP3A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `buTP?]4.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }k~0R-m  
pp_ddk  
struts.multipart.maxSize Lj\<qF~n  
      The maximize size of a multipart request (file upload) bsVOO9.4-  
      multipart请求信息的最大尺寸(文件上传用) "fwuvT 1  
XRin~wz|S  
struts.multipart.parser  5 Ep  
      The org.apache.struts2.dispatcher.multipart. }DwXs`M7  
      MultiPartRequest parser implementation for a multipart request (file upload) fTcRqov  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fv B2y8&W  
93,ExgFt  
:eO0{JN4T  
struts.multipart.saveDir )A"7l7?.n)  
      The directory to use for storing uploaded files {[dqXG$v `  
      设置存储上传文件的目录夹 N9Vcp~;  
%vzpp\t  
struts.objectFactory =="SW"vNi  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3+ 'w%I  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U)6JJv  
Ja2.1v|r .  
struts.objectFactory.spring.autoWire 8'62[e|=7[  
      Whether Spring should autoWire or not F!'"mU<f  
      是否自动绑定Spring x;/3_"$9>\  
d?qz7#kc  
struts.objectFactory.spring.useClassCache &v88x s  
      Whether Spring should use its class cache or not Pr"ESd>Y  
      是否spring应该使用自身的cache +ZO*~.zZ  
v%w]Q B  
struts.objectTypeDeterminer fk_i~K  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .l!Z=n|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^ TS\x/P  
MvA_tRO  
struts.serve.static.browserCache ~Fh(4'  
If static content served by the Struts filter should set browser caching header properties or not yDrJn* r^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2 r)c?  
3]Mx,u  
struts.serve.static zjS<e XLs[  
      Whether the Struts filter should serve static content or not EWi@1PAZK  
      是否struts过滤器应该提供静态内容 OduTg^R  
jTJ[2WaS  
struts.tag.altSyntax sh RvwE[  
      Whether to use the alterative syntax for the tags or not r}w 9?s^rB  
      是否可以用替代的语法替代tags LGkKR{ep(  
'aJ?Syn  
struts.ui.templateDir ?T"crX  
      The directory containing UI templates t<=L&:<N  
      UI templates的目录夹 bE{`g]C5  
1['A1 ,  
struts.ui.theme c1f6RCu$b  
      The default UI template theme '_%Jw:4k  
      默认的UI template主题 1Ppzch7  
K`sm  
struts.url.http.port  E7,\s   
      The HTTP port used by Struts URLs lPQH_+)Z"  
      设置http端口 X,b} d#\  
g o@}r<B$  
struts.url.https.port t&0p@xLQ  
      The HTTPS port used by Struts URLs iJK9-k~  
      设置https端口 ~a}pYLxl  
4KKNw9L)  
struts.url.includeParams d:aQlW;}  
      The default includeParams method to generate Struts URLs \GN5Sy]r  
      在url中产生 默认的includeParams JqO( ]*"Hi  
$i hI Hl6'  
C%&7,F7  
struts.velocity.configfile :>5]A6Wi  
      The Velocity configuration file path ~tWBCq 6  
      velocity配置文件路径 aNz%vbh\  
/:DxB00  
struts.velocity.contexts 5y)kQ<x"  
      List of Velocity context names f{J7a1 `_  
      velocity的context列表 "(5}=T@,  
>; Bhl|r~z  
F&\o1g-L  
struts.velocity.manager.classname {XAKf_Cg  
      org.apache.struts2.views.velocity.VelocityManager implementation class h0`) =  
      org.apache.struts2.views.velocity.VelocityManager接口名 "T'!cy  
?{n#j,v!  
struts.velocity.toolboxlocation Jg:'gF]jt  
      The location of the Velocity toolbox q&.!*rPD  
      velocity工具盒的位置 ^s-3U  
struts.xslt.nocache kF5}S8B  
      Whether or not XSLT templates should not be cached xiiZ'U  
      是否XSLT模版应该被缓存 p ,!`8c6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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