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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 b5a.go  
-c*\o3)  
struts.action.extension swcd&~9r  
      The URL extension to use to determine if the request is meant for a Struts action >IfV\ w32  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O;uG?.\  
,$lemH1d  
struts.configuration i=S~(gp  
      The org.apache.struts2.config.Configuration implementation class vB0RKk}d5  
        org.apache.struts2.config.Configuration接口名 L]%l51U  
`3c CH  
struts.configuration.files uLR<FpM  
      A list of configuration files automatically loaded by Struts 6%Mt  
      struts自动加载的一个配置文件列表 g>JLDQdc  
;i<jhNA  
struts.configuration.xml.reload ";SiL{Z  
      Whether to reload the XML configuration or not ]?+{aS-]?k  
      是否加载xml配置(true,false) jgv`>o%<W  
>ut" OL9J  
struts.continuations.package i^msjA  
      The package containing actions that use Rife continuations ac{?+]8}  
      含有actions的完整连续的package名称 ?)D^~/ A  
C[sh,  
struts.custom.i18n.resources 6gL-OJNo  
      Location of additional localization properties files to load iUi>y.}"P  
      加载附加的国际化属性文件(不包含.properties后缀) |{>ER,<-  
&@FhR#pUQ  
struts.custom.properties }<a^</s  
      Location of additional configuration properties files to load SmwQET<H  
      加载附加的配置文件的位置 h^UKT`9vt  
#W>QY Tp  
cVnJ^*Z  
struts.devMode /]^#b  
      Whether Struts is in development mode or not GL$De,V  
      是否为struts开发模式 X{xBYZv4  
*ISZlR\#  
struts.dispatcher.parametersWorkaround KLWn?`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KngTc(^_D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 942lSyix  
=q7Z qP  
struts.enable.DynamicMethodInvocation FS6`6M.K  
      Allows one to disable dynamic method invocation from the URL  as yZe  
        允许动态方法调用 2Os1C}m  
q?qC  
struts.freemarker.manager.classname 'a6<ixgo0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O^Q7b7}y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nI.x  
CNZz]H  
struts.i18n.encoding Q4*?1`IsR  
      The encoding to use for localization messages ElhRF{R  
      国际化信息内码 /D&%v *~E  
{76c%<`WaP  
struts.i18n.reload Rhc-q|Lz8  
      Whether the localization messages should automatically be reloaded #DU26nCL  
      是否国际化信息自动加载 TfYVw~p_%  
soA|wk\A  
struts.locale )Z 9E=%  
      The default locale for the Struts application 8Me:Yp_Xt  
      默认的国际化地区信息 PXzsj.  
*a;@*  
struts.mapper.class % 2$/JZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >{gPN"S"a  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H,fZ!8(A_)  
)L{ghy  
struts.multipart.maxSize }/tf>?c  
      The maximize size of a multipart request (file upload) #'D" 'B  
      multipart请求信息的最大尺寸(文件上传用) ]V l]XT$Um  
vX0f,y  
struts.multipart.parser &s Pq<lo  
      The org.apache.struts2.dispatcher.multipart. Z>c3  
      MultiPartRequest parser implementation for a multipart request (file upload) lGwl1,=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m7a#qs; ,  
hI%bjuq  
ryF7  
struts.multipart.saveDir f"7O  "6  
      The directory to use for storing uploaded files 3~S'LxV  
      设置存储上传文件的目录夹 (wDm*bZ*  
{'?)FX*W  
struts.objectFactory 0.T4{JS#  
      The com.opensymphony.xwork2.ObjectFactory implementation class u0aJu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lO&3{dOYE  
]D[DU]K  
struts.objectFactory.spring.autoWire 4#x5MM  
      Whether Spring should autoWire or not $3`>{3x$  
      是否自动绑定Spring ;<yd^Xs  
{~!q`Dr3?q  
struts.objectFactory.spring.useClassCache @1.QEyXG  
      Whether Spring should use its class cache or not ?0? R  
      是否spring应该使用自身的cache Q_* "SRz  
7S/G B  
struts.objectTypeDeterminer HEA#bd\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,@1p$n  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Dd;Nz  
(?_S6H E  
struts.serve.static.browserCache #e' }.4cr  
If static content served by the Struts filter should set browser caching header properties or not -F'b8:m  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8Ac)'2t;U  
Ox#\M0Wn$3  
struts.serve.static 3_~cMlr3T.  
      Whether the Struts filter should serve static content or not yjfat&$  
      是否struts过滤器应该提供静态内容 ~\{^%~[48  
I}Nd$P)>  
struts.tag.altSyntax _ZY)M  
      Whether to use the alterative syntax for the tags or not ,'[<bP'%_  
      是否可以用替代的语法替代tags ono4U.C9  
PH"n{lW.T  
struts.ui.templateDir 5>BK%`  
      The directory containing UI templates f$NMM >z  
      UI templates的目录夹 =t6z \WB  
[2"<W! p  
struts.ui.theme G}&Sle]  
      The default UI template theme tOfg?)h{dc  
      默认的UI template主题 ]-ZEWt6lsc  
UnI 48Y  
struts.url.http.port 7AYd!n&S  
      The HTTP port used by Struts URLs 0-~\ W(  
      设置http端口 Fx-8M!  
9U$EJN_G  
struts.url.https.port T&Lb<'f  
      The HTTPS port used by Struts URLs ^i:`ZfA#  
      设置https端口 (aD_zG=k5  
!\&;h  
struts.url.includeParams z9aY]lHY  
      The default includeParams method to generate Struts URLs K~@Mg1R  
      在url中产生 默认的includeParams '1M7M(va  
gy&[?m6M=  
W5SJ^,d)J  
struts.velocity.configfile }CeCc0M  
      The Velocity configuration file path LX^u_Iu   
      velocity配置文件路径 u_ABt?'  
H54 R8O$  
struts.velocity.contexts &|/| ''A)  
      List of Velocity context names 0GJn_@hr  
      velocity的context列表 3B1cb[2y  
^^5&QSB:'  
8 Y5  
struts.velocity.manager.classname **}h&k&%2  
      org.apache.struts2.views.velocity.VelocityManager implementation class m!<\WN6g  
      org.apache.struts2.views.velocity.VelocityManager接口名 [B+W%g(c-  
mEG#>Gg$  
struts.velocity.toolboxlocation 4~B> 9<$e>  
      The location of the Velocity toolbox 6R=W}q4  
      velocity工具盒的位置 27;ci:5  
struts.xslt.nocache J~#;<e{\"  
      Whether or not XSLT templates should not be cached D1__n6g[  
      是否XSLT模版应该被缓存 w8n|B?Sr  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八