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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  -BSdrP|  
I x%>aee  
struts.action.extension (.ir"\k1(  
      The URL extension to use to determine if the request is meant for a Struts action 2jFuF71  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u S1O-Q>  
}xk(aM_  
struts.configuration 3#>W\_FY*D  
      The org.apache.struts2.config.Configuration implementation class  oBkhb  
        org.apache.struts2.config.Configuration接口名 sE pI)9  
!ajBZ>Q  
struts.configuration.files `5IrV&a  
      A list of configuration files automatically loaded by Struts i41~-?Bc  
      struts自动加载的一个配置文件列表 OM*c7&  
4 O!2nP  
struts.configuration.xml.reload Tnp P'  
      Whether to reload the XML configuration or not G](4!G&  
      是否加载xml配置(true,false) hO=L|BJ?I  
.5(YL8d  
struts.continuations.package  K& #il  
      The package containing actions that use Rife continuations t*gZcw5 r  
      含有actions的完整连续的package名称 .S/ 5kLul  
o.{W_k/n  
struts.custom.i18n.resources D:1@1Jr  
      Location of additional localization properties files to load e73=*~kfR  
      加载附加的国际化属性文件(不包含.properties后缀) ^m|@pp  
l-+=Yk!X  
struts.custom.properties m2j&0z  
      Location of additional configuration properties files to load x}+zhRJ  
      加载附加的配置文件的位置 fST.p|b7  
p0Jr{hM  
.<"XE7  
struts.devMode ^+_rv  
      Whether Struts is in development mode or not gM&IV{k3  
      是否为struts开发模式 K~TwyB-h  
F8f}PV]b  
struts.dispatcher.parametersWorkaround .[Sis<A]%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1M]=Nv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  w4U,7%V  
y{%0[x*N<m  
struts.enable.DynamicMethodInvocation s#9q3JV0  
      Allows one to disable dynamic method invocation from the URL wFJf"@/vJ  
        允许动态方法调用 7~Y\qJ4b  
MCKN.f%lP  
struts.freemarker.manager.classname Eomfa:WL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7D6`1 &  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {&=+lr_h?  
0bT j/0G?  
struts.i18n.encoding s1:Wrz?4  
      The encoding to use for localization messages u 272)@R  
      国际化信息内码 Bf ut mI  
oac)na:O#  
struts.i18n.reload *N">93:  
      Whether the localization messages should automatically be reloaded =;rLv7(a  
      是否国际化信息自动加载 SqM>xm  
F]ao Ty  
struts.locale h?mDtMCw2  
      The default locale for the Struts application :o s8"  
      默认的国际化地区信息 \P<aK$g  
5Gz!Bf@!!  
struts.mapper.class 2S?7j[@%i`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;c!> =  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =;Gq:mHi  
0*gvHVd/l  
struts.multipart.maxSize r9[S%Def  
      The maximize size of a multipart request (file upload) Z`Y&cKsn  
      multipart请求信息的最大尺寸(文件上传用) 'f5 8Jwql  
!eW1d0n'+f  
struts.multipart.parser u8Ys2KLpL  
      The org.apache.struts2.dispatcher.multipart. 2n<Mu Q]  
      MultiPartRequest parser implementation for a multipart request (file upload) Qs&;MW4q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'ygKP6M  
#Rw!a#CX.  
2u3Kyn  
struts.multipart.saveDir !oWB5x~:P  
      The directory to use for storing uploaded files daE.y_9y  
      设置存储上传文件的目录夹 ;b<w'A_1  
$}9jv3>)  
struts.objectFactory 6'^_*n  
      The com.opensymphony.xwork2.ObjectFactory implementation class s L^+$Mq6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]o6 ZZK  
vqm|D&HU  
struts.objectFactory.spring.autoWire 1}(22Q;  
      Whether Spring should autoWire or not TeHJj`rdAU  
      是否自动绑定Spring yf&g\ke  
O^L]2BVC  
struts.objectFactory.spring.useClassCache ;wn9 21r  
      Whether Spring should use its class cache or not pY31qhoZ.  
      是否spring应该使用自身的cache `YNzcn0x  
Sdu\4;(  
struts.objectTypeDeterminer {wqT$( (<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bb6x} jR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (GJtTp~2C4  
gv*b`cl  
struts.serve.static.browserCache OoB|Eh|),  
If static content served by the Struts filter should set browser caching header properties or not eZ'8JU]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IW~R{ ]6  
TM)INo^  
struts.serve.static j4$nr=d.6  
      Whether the Struts filter should serve static content or not PLCm\Oh$l  
      是否struts过滤器应该提供静态内容 Na0^csPm  
+kL7"  
struts.tag.altSyntax aI=p_+.h  
      Whether to use the alterative syntax for the tags or not 6jq*lnA%  
      是否可以用替代的语法替代tags aU!}j'5Q  
^ZwZze:2  
struts.ui.templateDir ^'`b\$km-0  
      The directory containing UI templates )|~K&qn`  
      UI templates的目录夹 x~e._k=  
Y2`sL,'h  
struts.ui.theme I dK*IA4  
      The default UI template theme 1&w%TRC2x  
      默认的UI template主题 _*mn4n=  
P5Xp #pa  
struts.url.http.port $qNF /rF  
      The HTTP port used by Struts URLs IiPX`V>RC  
      设置http端口 [\8rh^LFi  
VGS%U8;  
struts.url.https.port @6;OF5VsQ  
      The HTTPS port used by Struts URLs `<7\Zl  
      设置https端口 $$9H1)Ny  
[JOa^U=  
struts.url.includeParams yGa0/o18!?  
      The default includeParams method to generate Struts URLs (?z?/4>7<  
      在url中产生 默认的includeParams odhcD;^X1  
mskG2mA  
NI?O  
struts.velocity.configfile K#R]of~/  
      The Velocity configuration file path dxeiN#(XT  
      velocity配置文件路径 Zbczbnj  
&g :(I  
struts.velocity.contexts 5CI {&E  
      List of Velocity context names h FU8iB`Q  
      velocity的context列表 }-3 VK%  
Ip t;NlR  
1eI*.pt  
struts.velocity.manager.classname @Jd&[T27Lr  
      org.apache.struts2.views.velocity.VelocityManager implementation class )!8q JQD  
      org.apache.struts2.views.velocity.VelocityManager接口名 T`# nn|  
yYz{*hq  
struts.velocity.toolboxlocation 2yfU]`qN  
      The location of the Velocity toolbox Fb,*;M1'  
      velocity工具盒的位置 #}7T$Va  
struts.xslt.nocache 9D3W_eIc  
      Whether or not XSLT templates should not be cached wd`p>  
      是否XSLT模版应该被缓存 lR?y tIY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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