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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UfcQFT{()  
Nv!If$d  
struts.action.extension YCr:nYm<f  
      The URL extension to use to determine if the request is meant for a Struts action 7 lc -  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g,Z8I;A^  
IzPnbnS}  
struts.configuration CX/ _\0 G4  
      The org.apache.struts2.config.Configuration implementation class d>[=]  
        org.apache.struts2.config.Configuration接口名 H/"$#8-/  
Q-<N)K$F(4  
struts.configuration.files ayR=GqZ1  
      A list of configuration files automatically loaded by Struts A)"?GK{*  
      struts自动加载的一个配置文件列表 Kx,#Wg{H  
!Au'WJfE  
struts.configuration.xml.reload [?z`XY_-  
      Whether to reload the XML configuration or not 6U|An*  
      是否加载xml配置(true,false) T%|{Qo<j  
IiW*'0H:/  
struts.continuations.package ~n9x ,  
      The package containing actions that use Rife continuations E Dh$UB)  
      含有actions的完整连续的package名称 y&;ytNG&<  
_Q)rI%A2  
struts.custom.i18n.resources /dGpac  
      Location of additional localization properties files to load QP HibPP:  
      加载附加的国际化属性文件(不包含.properties后缀) LbCcOkL/@@  
L-. +yNX)  
struts.custom.properties -\=s+n_ZP?  
      Location of additional configuration properties files to load g i>`  
      加载附加的配置文件的位置 h`Ld%iN\  
gEr@L  
BMaw]D  
struts.devMode Eod'Esye5  
      Whether Struts is in development mode or not *Ae> ,LyE  
      是否为struts开发模式 +9EG6"..@H  
')eg6IC0&T  
struts.dispatcher.parametersWorkaround  S9\_ODv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :(7icHa  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (%p@G5GU  
8zhr;Srt  
struts.enable.DynamicMethodInvocation w)xiiO[  
      Allows one to disable dynamic method invocation from the URL L>xecep  
        允许动态方法调用 >JOEp0J  
,j3Yvn W  
struts.freemarker.manager.classname a6Zg~>vX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j _]#Ew\q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r xlKoa  
pE&'Xr#P>  
struts.i18n.encoding -d'swx2aZ!  
      The encoding to use for localization messages R3 Zg,YM  
      国际化信息内码 ::<v; `l  
J  ZH~ {  
struts.i18n.reload hB[VU ";  
      Whether the localization messages should automatically be reloaded |azdFf6A:[  
      是否国际化信息自动加载 C?OqS+  
r@WfZ  Z  
struts.locale ]*/%5ZOI&  
      The default locale for the Struts application sKu/VAh x  
      默认的国际化地区信息 +g.lLb*#  
g/3t@7*<  
struts.mapper.class <D}yqq@|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |FED<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4eD>DW  
QYB66g:  
struts.multipart.maxSize qS|ns'[  
      The maximize size of a multipart request (file upload) UO~Xzx!e  
      multipart请求信息的最大尺寸(文件上传用) /9QC$Z):<  
pc+'/~  
struts.multipart.parser ,M?K3lG\g[  
      The org.apache.struts2.dispatcher.multipart. *OM+d$l!  
      MultiPartRequest parser implementation for a multipart request (file upload) G!<-9HA5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Sm5 T/&z  
BQo$c~  
b+/z,c6w  
struts.multipart.saveDir AQ)DiH  
      The directory to use for storing uploaded files 1\u{1 V  
      设置存储上传文件的目录夹 A WS[e$Mt2  
nNc>nB1  
struts.objectFactory W]B75  
      The com.opensymphony.xwork2.ObjectFactory implementation class =PM6:3aKh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [\BLb8  
B!j7vXM2  
struts.objectFactory.spring.autoWire .X.,.vHx  
      Whether Spring should autoWire or not $R&K-;D/8  
      是否自动绑定Spring v?O6|0#x  
GS)4,.  
struts.objectFactory.spring.useClassCache Kry^ 47"  
      Whether Spring should use its class cache or not L9} %tEP  
      是否spring应该使用自身的cache IIh \ d.o  
xq@_' 3X  
struts.objectTypeDeterminer H*KZZTKd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W ])Lc3X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JmBe1"hs  
oVAY}q|wU  
struts.serve.static.browserCache :iEIo7B  
If static content served by the Struts filter should set browser caching header properties or not R!z32 <5k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `fM]3]x>  
E7`Q =4@e  
struts.serve.static &@U)  
      Whether the Struts filter should serve static content or not -]~KQvIH!  
      是否struts过滤器应该提供静态内容 *S= c0  
VRQD  
struts.tag.altSyntax hVGK%HCz&  
      Whether to use the alterative syntax for the tags or not c,L{Qv"n{  
      是否可以用替代的语法替代tags A7enC,Ey  
^| r6>b  
struts.ui.templateDir Eb~e=){  
      The directory containing UI templates {lO>i&mx  
      UI templates的目录夹 XF Cwa  
9%iv?/o*L  
struts.ui.theme cOoF +hz0O  
      The default UI template theme k [eWhdSw  
      默认的UI template主题 crlCN  
9D`p2cO  
struts.url.http.port YZ(tjIgQ  
      The HTTP port used by Struts URLs aH'=k?Of;  
      设置http端口 qBDhCE  
.~Gt=F+`s  
struts.url.https.port }}X<e  
      The HTTPS port used by Struts URLs N@x5h8  
      设置https端口 :pw6#yi8`  
/r?EY&9G  
struts.url.includeParams q /eod  
      The default includeParams method to generate Struts URLs spG3"Eodi  
      在url中产生 默认的includeParams MZWicfUy  
M{)|9F  
H[[#h=r0f  
struts.velocity.configfile I7]qTS[vg  
      The Velocity configuration file path L7"B`oa(p  
      velocity配置文件路径 ^@f-Ni\  
?Zh,W(7W  
struts.velocity.contexts XY)I~6$Y  
      List of Velocity context names IfzW%UL  
      velocity的context列表 Sau?Y  
WT'?L{  
X$(YCb  
struts.velocity.manager.classname W%P$$x5&  
      org.apache.struts2.views.velocity.VelocityManager implementation class '9tV-whw  
      org.apache.struts2.views.velocity.VelocityManager接口名 F x3X  
5c 69M5  
struts.velocity.toolboxlocation YDjjhe+  
      The location of the Velocity toolbox XF i!=|F  
      velocity工具盒的位置 #4Ltw ,b^  
struts.xslt.nocache H$!sK  
      Whether or not XSLT templates should not be cached /L; c -^  
      是否XSLT模版应该被缓存 9D{p^hd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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