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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C+N k"l9  
-x*2t;%z{U  
struts.action.extension MesRa(  
      The URL extension to use to determine if the request is meant for a Struts action ,o#kRWRG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |i7a@'0)  
8%:]W^  
struts.configuration ))T>jh   
      The org.apache.struts2.config.Configuration implementation class WAPhv-6  
        org.apache.struts2.config.Configuration接口名 S#l5y%&  
\'v(Xp6  
struts.configuration.files Z-X?JA\&  
      A list of configuration files automatically loaded by Struts {/8Q)2*>0  
      struts自动加载的一个配置文件列表 {eT.SO  
I 3$dVls}  
struts.configuration.xml.reload MaY682}|y  
      Whether to reload the XML configuration or not v"O5u%P  
      是否加载xml配置(true,false) '7 )"  
mUP.rb6  
struts.continuations.package )"<8K}%!  
      The package containing actions that use Rife continuations :d,^I@]  
      含有actions的完整连续的package名称 ajH"Jy3A  
N#z~  
struts.custom.i18n.resources } cNW^4F  
      Location of additional localization properties files to load ~Y!kB:D5;~  
      加载附加的国际化属性文件(不包含.properties后缀) MuI2?:~:*4  
LIpEQ7;  
struts.custom.properties X[3}?,aqL  
      Location of additional configuration properties files to load Ip *g'  
      加载附加的配置文件的位置 +j/~Af p5f  
$)Bg JDr  
CA s>AXbs  
struts.devMode H=^K@Ti:  
      Whether Struts is in development mode or not <V&5P3)d9  
      是否为struts开发模式 Ey `h1 Y  
Gc,_v3\  
struts.dispatcher.parametersWorkaround p Pro }@@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [2c{k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XNH4vG |  
19U]2D/z  
struts.enable.DynamicMethodInvocation  kLP0{A  
      Allows one to disable dynamic method invocation from the URL UQ?%|y*Kc  
        允许动态方法调用 X$n(-65  
zu\`1W^  
struts.freemarker.manager.classname 7/Il L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t ?eH'*>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @%ECj)u`O  
83Ou9E!W  
struts.i18n.encoding gzn^#3b  
      The encoding to use for localization messages a2@c%i  
      国际化信息内码 WcUJhi^\C  
!36]ud&  
struts.i18n.reload L"(4R^]  
      Whether the localization messages should automatically be reloaded vGd1w%J-  
      是否国际化信息自动加载 &, a3@i  
9$*s8}|  
struts.locale 7<\C ?`q"  
      The default locale for the Struts application "&+3#D >  
      默认的国际化地区信息 |V,<+BEi  
EG<s_d?  
struts.mapper.class ?h8{xa5b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8{ c!).  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6p;m\  
}j {!-&  
struts.multipart.maxSize pox, Im  
      The maximize size of a multipart request (file upload) t#E}NR  
      multipart请求信息的最大尺寸(文件上传用) eVh - _  
Sus;(3EX  
struts.multipart.parser aAt>QxGQW  
      The org.apache.struts2.dispatcher.multipart. qL /7^) (  
      MultiPartRequest parser implementation for a multipart request (file upload) z?]G3$i(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) VR? ^HA9  
19e8  
#s5N[uK^m  
struts.multipart.saveDir rRFAD{5)  
      The directory to use for storing uploaded files oYM3Rgxf9Q  
      设置存储上传文件的目录夹 hVpCB,  
TD@v9  
struts.objectFactory n~IVNB*  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1 OaXo!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) W8WXY_yJt  
@* ust>7  
struts.objectFactory.spring.autoWire e /K#>,  
      Whether Spring should autoWire or not J5M+FwZq  
      是否自动绑定Spring ?\=/$Gt  
>!6JKL~=  
struts.objectFactory.spring.useClassCache NZLAk~R;0  
      Whether Spring should use its class cache or not BRRj$)u  
      是否spring应该使用自身的cache |UnUG  
30j|D3-  
struts.objectTypeDeterminer ?=Pd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vw>jJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n$L51#'  
;t#]2<d*  
struts.serve.static.browserCache LJlZ^kh  
If static content served by the Struts filter should set browser caching header properties or not aBuoHdg;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?9+@+q  
rJyCw+N0  
struts.serve.static >h~IfZU1  
      Whether the Struts filter should serve static content or not Rqip kx  
      是否struts过滤器应该提供静态内容 +a@GHx 4-  
%|W.^q  
struts.tag.altSyntax l,|%7-  
      Whether to use the alterative syntax for the tags or not a6xj\w  
      是否可以用替代的语法替代tags sY SLmUZ{  
RzKb{> ;A  
struts.ui.templateDir NPnHH:\;  
      The directory containing UI templates 1`0#HSO  
      UI templates的目录夹 #s-iy+/1oN  
Y-!YhWsS  
struts.ui.theme [tT8_}v$LN  
      The default UI template theme LaFZ?7@|}  
      默认的UI template主题 22hSove.  
knp>m,w  
struts.url.http.port cR7wx 0Aj  
      The HTTP port used by Struts URLs 6=_~ 0PcY  
      设置http端口 l: |D,q  
1%[_`J;>Z  
struts.url.https.port X@N$Z{  
      The HTTPS port used by Struts URLs q<vf,D@{ !  
      设置https端口 I&yVx8aH}  
Wzq>JNn y  
struts.url.includeParams c~}l8M %  
      The default includeParams method to generate Struts URLs )Q;978:  
      在url中产生 默认的includeParams M)-6T{[IT  
\ gwXH  
$RX'(/  
struts.velocity.configfile &n2e  
      The Velocity configuration file path "Y: /= Gx  
      velocity配置文件路径 l~:v (R5  
:fcM:w&  
struts.velocity.contexts c,EBF\r8*  
      List of Velocity context names \/`?  
      velocity的context列表 UKd'+R]  
2.uA|~qH  
1 k8x%5p  
struts.velocity.manager.classname =HDI \LD<  
      org.apache.struts2.views.velocity.VelocityManager implementation class /lhz],w  
      org.apache.struts2.views.velocity.VelocityManager接口名 }Rvm &?~O  
sfT+i;p  
struts.velocity.toolboxlocation RF}X ER  
      The location of the Velocity toolbox j-@kW'K  
      velocity工具盒的位置 +>^7vq-\'  
struts.xslt.nocache <Q < AwP  
      Whether or not XSLT templates should not be cached vYmSKS  
      是否XSLT模版应该被缓存 -F/st  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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