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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 29 +p|n  
DqLZc01>  
struts.action.extension P|"U  
      The URL extension to use to determine if the request is meant for a Struts action # j_<iy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G<1awi  
4XkSj9D~z  
struts.configuration @wWro?s'p  
      The org.apache.struts2.config.Configuration implementation class _084GK9{W  
        org.apache.struts2.config.Configuration接口名 =6mnXpM.  
NqsIMCl  
struts.configuration.files DA[s k7  
      A list of configuration files automatically loaded by Struts W$x'+t5H  
      struts自动加载的一个配置文件列表 9zj^\-FA_l  
z0;+.E!  
struts.configuration.xml.reload w[>/(R7im  
      Whether to reload the XML configuration or not #+2|ZfCn%  
      是否加载xml配置(true,false) 0@R @L}m  
'_z#}P<  
struts.continuations.package @"jV^2oY1  
      The package containing actions that use Rife continuations *$ZLu jy7  
      含有actions的完整连续的package名称 #,dE)  
+LwE=unS  
struts.custom.i18n.resources ZJotg *I  
      Location of additional localization properties files to load q? x.P2  
      加载附加的国际化属性文件(不包含.properties后缀) 5feCA ,v7  
VP4W~;UV|\  
struts.custom.properties hWGCYkuW  
      Location of additional configuration properties files to load &n% 3rC5{  
      加载附加的配置文件的位置 `(|jm$Q  
Bc {#ia  
?#F}mOVAa  
struts.devMode %N!2 _uk5  
      Whether Struts is in development mode or not wo;`D  
      是否为struts开发模式 @u./VK  
`I.Uw$,P  
struts.dispatcher.parametersWorkaround Y'NQt?h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Sm2 |I6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Nl_Sgyx,\  
,B>Rc#  
struts.enable.DynamicMethodInvocation ;>o}/h  
      Allows one to disable dynamic method invocation from the URL b 469  
        允许动态方法调用 sjLI^#a  
Vi~9[&.E\!  
struts.freemarker.manager.classname H26'8e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X@u-n_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 VWoxi$3v  
4_3 DQx9s  
struts.i18n.encoding utq*<,^  
      The encoding to use for localization messages b {e nD  
      国际化信息内码 ;C8'7  
*)c,~R^  
struts.i18n.reload g->cgExj  
      Whether the localization messages should automatically be reloaded P=K+!3ZXo  
      是否国际化信息自动加载 A*I mruV  
.!kqIx*3  
struts.locale |okS7.|IX  
      The default locale for the Struts application ,c:Fa)-  
      默认的国际化地区信息 0z g\thL  
Aj06"ep  
struts.mapper.class 28L3"c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PjEKZHHz  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]XEkQ  
&Y2mLPB  
struts.multipart.maxSize GI}h )T  
      The maximize size of a multipart request (file upload) z T|]!',  
      multipart请求信息的最大尺寸(文件上传用) 'J^E|1P  
W?m?r.K?  
struts.multipart.parser DXAA[hUjF  
      The org.apache.struts2.dispatcher.multipart. :U`8s#  
      MultiPartRequest parser implementation for a multipart request (file upload) 6g@@V=mf  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [{F8+a^  
oLcOp.8h[  
s1XW}Dw  
struts.multipart.saveDir /i+8b(x  
      The directory to use for storing uploaded files "1rZwFI0l  
      设置存储上传文件的目录夹 JHN3 5a+  
Pm]6E[zC  
struts.objectFactory ^'DrU< o  
      The com.opensymphony.xwork2.ObjectFactory implementation class 24 S,w>j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t@-:e^ v  
v~:$]a8  
struts.objectFactory.spring.autoWire 3\6 UH  
      Whether Spring should autoWire or not J;Az0[qMR  
      是否自动绑定Spring #2c-@),  
5-|fp(Ww_W  
struts.objectFactory.spring.useClassCache Qci<cVgP  
      Whether Spring should use its class cache or not FJ3Xeo s4|  
      是否spring应该使用自身的cache h3.wR]ut  
pmAir:  
struts.objectTypeDeterminer 5fS89?/?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xUE9%qO  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ue|]M36  
]@bo;.  
struts.serve.static.browserCache jcF/5u5e  
If static content served by the Struts filter should set browser caching header properties or not w U.K+4-k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4NxtU/5-sU  
vkan+~H  
struts.serve.static fSdv%$;Hc  
      Whether the Struts filter should serve static content or not b'fj  
      是否struts过滤器应该提供静态内容 Y418k  
e[}R1/! L  
struts.tag.altSyntax ,R$n I*mf_  
      Whether to use the alterative syntax for the tags or not F|X-|Co  
      是否可以用替代的语法替代tags  }5^j08  
j'i-XIs  
struts.ui.templateDir d [z+/L  
      The directory containing UI templates T"-HBwl  
      UI templates的目录夹 @W|}|V5  
9="i'nYp  
struts.ui.theme FA\gz?h  
      The default UI template theme }2M2R}D  
      默认的UI template主题 `P9vZR;  
Y;>0)eP  
struts.url.http.port 93:s[b mx  
      The HTTP port used by Struts URLs H@er"boi  
      设置http端口 +O:Qw[BL/Z  
@= )_PG  
struts.url.https.port Ftj3`Mu  
      The HTTPS port used by Struts URLs VA_\Z  
      设置https端口 w5|az6wZB!  
d|5u<f5  
struts.url.includeParams /EhojODMF  
      The default includeParams method to generate Struts URLs <'QH e4  
      在url中产生 默认的includeParams Dm6WSp1|b  
Bsw5A7,-  
94"R&|  
struts.velocity.configfile pU)wxv[~  
      The Velocity configuration file path ]>K%,}PS  
      velocity配置文件路径 7,ODh-?ez  
,dKcxp~[  
struts.velocity.contexts 5nzk Zw  
      List of Velocity context names )` S,vF~  
      velocity的context列表 HS| &["  
68R[Lc9q5  
.Vq-<c%  
struts.velocity.manager.classname XXacWdh \  
      org.apache.struts2.views.velocity.VelocityManager implementation class KcP86H52I  
      org.apache.struts2.views.velocity.VelocityManager接口名 S'vi +_  
nn$,|/  
struts.velocity.toolboxlocation D %~s  
      The location of the Velocity toolbox >1xlP/4jx  
      velocity工具盒的位置 he&*N*of:  
struts.xslt.nocache 9}t2OJS*h"  
      Whether or not XSLT templates should not be cached LOi5 ^Um|  
      是否XSLT模版应该被缓存 pm O}m>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八