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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6rBXC <Z  
4dfR}C  
struts.action.extension Ygwej2  
      The URL extension to use to determine if the request is meant for a Struts action b:OQ/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n2<#]2h  
Yv}V =O%  
struts.configuration pf_(?\oz>  
      The org.apache.struts2.config.Configuration implementation class LV$@J  
        org.apache.struts2.config.Configuration接口名 zkFx2(Hq-f  
2m$\]\kCUv  
struts.configuration.files RgF5w<Vd.  
      A list of configuration files automatically loaded by Struts Rh%c<</`0s  
      struts自动加载的一个配置文件列表 RtE2%d$JT  
;>#YOxPl  
struts.configuration.xml.reload s>i`=[qFc  
      Whether to reload the XML configuration or not KW1 7CJ@  
      是否加载xml配置(true,false) U_1syaY!  
#q[k"x=c  
struts.continuations.package "YUh4uZ~P  
      The package containing actions that use Rife continuations :fxG]uf-P  
      含有actions的完整连续的package名称 U9uy (KOW  
ups] k?4  
struts.custom.i18n.resources 2aROY2  
      Location of additional localization properties files to load 4T]n64Yid  
      加载附加的国际化属性文件(不包含.properties后缀) VeLuL:4I  
6jdNQC$#B  
struts.custom.properties =Zg%& J  
      Location of additional configuration properties files to load ?8{x/y:  
      加载附加的配置文件的位置 @vy {Q7aM  
z?9vbx  
 BKiyog  
struts.devMode F_Pv\?35z  
      Whether Struts is in development mode or not @' V=Vr  
      是否为struts开发模式 5]c'n  
q4'Vb  
struts.dispatcher.parametersWorkaround GIo7- 6kvm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6*!R'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s]tBd !~  
`V(z z  
struts.enable.DynamicMethodInvocation `pB]_"b  
      Allows one to disable dynamic method invocation from the URL R~=_,JUW  
        允许动态方法调用 ZS@Gt  
[;rty<Z^b  
struts.freemarker.manager.classname nPAVrDg O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g~>g])  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 DU@ZLk3  
z2EZ0vZ  
struts.i18n.encoding -d|Q|zF^x  
      The encoding to use for localization messages L)0j&  
      国际化信息内码 b.Yl0Y  
1WArgR  
struts.i18n.reload H%}ro.u  
      Whether the localization messages should automatically be reloaded e:&+m`OSH  
      是否国际化信息自动加载 ~M>EB6  
=\t%U5  
struts.locale |U~m8e&:  
      The default locale for the Struts application 8$c_M   
      默认的国际化地区信息 nUgZ]ag=G  
9>@@W#TK~  
struts.mapper.class ZmJ!ZKKch  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _8-iO.T+2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (W=J3 ?hn  
;w\7p a  
struts.multipart.maxSize 2}NWFM3C  
      The maximize size of a multipart request (file upload)  k|Xxr  
      multipart请求信息的最大尺寸(文件上传用) k^x[(gw  
R F)Qsa  
struts.multipart.parser WcG!6.U>  
      The org.apache.struts2.dispatcher.multipart. ,3m]jp'  
      MultiPartRequest parser implementation for a multipart request (file upload) IvW%n(a8^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s8/sH];  
gM0^k6bB8  
_kgGz@/p  
struts.multipart.saveDir P|:*OM p  
      The directory to use for storing uploaded files sHt PO[h  
      设置存储上传文件的目录夹 ;8?i  
ucVWvXCr  
struts.objectFactory qIO<\Y l  
      The com.opensymphony.xwork2.ObjectFactory implementation class s,tZi6Z=%E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]bPj%sb*@  
1XwW4cZ>:  
struts.objectFactory.spring.autoWire ]VYv>o`2  
      Whether Spring should autoWire or not R')D~JJ<8a  
      是否自动绑定Spring O%w"bEr)N  
UG]]Vk1d]  
struts.objectFactory.spring.useClassCache <c,/+ lQ^  
      Whether Spring should use its class cache or not .e^AS~4pl  
      是否spring应该使用自身的cache (%i)A$i6a  
c h_1 -  
struts.objectTypeDeterminer li U=&wM>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k|ol+ 9Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cz2guUu  
,b&-o?.{  
struts.serve.static.browserCache  1#G(  
If static content served by the Struts filter should set browser caching header properties or not w2 L'j9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ftL>oOz[  
* KDT0;/s  
struts.serve.static =nq9)4o  
      Whether the Struts filter should serve static content or not Oq7R^t`b  
      是否struts过滤器应该提供静态内容 Hy?+p{{G  
Sxj _gn  
struts.tag.altSyntax 86]})H  
      Whether to use the alterative syntax for the tags or not S%+$  
      是否可以用替代的语法替代tags YTQom!O  
)Mtw9[  
struts.ui.templateDir UL46%MFQ\  
      The directory containing UI templates 0+i\j`O&  
      UI templates的目录夹 &WqKsH$  
yNVmTb9mF  
struts.ui.theme nJdO~0}3  
      The default UI template theme gypE~@  
      默认的UI template主题 TAkM-iyH]  
sRM3G]nUr  
struts.url.http.port ?|&plf |  
      The HTTP port used by Struts URLs Eyv|~D  
      设置http端口 &TpzJcd"  
A3\%t@y  
struts.url.https.port eH*u,/  
      The HTTPS port used by Struts URLs ?=UIx24W  
      设置https端口 z_Nw%V4kr  
3#IU^6l:1S  
struts.url.includeParams k:+Bex$g  
      The default includeParams method to generate Struts URLs q,<AW>  
      在url中产生 默认的includeParams uv:DO6 {  
3\=iB&Gf|  
c]pO'6]  
struts.velocity.configfile +npcU:(Kg  
      The Velocity configuration file path _li\b-  
      velocity配置文件路径 %(EUZu2  
i$Rlb5RU  
struts.velocity.contexts SO}$96  
      List of Velocity context names H%K,2/Nj  
      velocity的context列表 c:a5pd7T  
{29x5J  
p6VHa$[  
struts.velocity.manager.classname !PaDq+fB  
      org.apache.struts2.views.velocity.VelocityManager implementation class &HPzm6.3  
      org.apache.struts2.views.velocity.VelocityManager接口名 33R_JM{  
D92#&,KD  
struts.velocity.toolboxlocation ,O9rL :?  
      The location of the Velocity toolbox N|pyp*8Z  
      velocity工具盒的位置 UF g N@  
struts.xslt.nocache rCwjy&SuU^  
      Whether or not XSLT templates should not be cached v7"Hvp3w  
      是否XSLT模版应该被缓存 64#6L.Q-c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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