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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 dBe`p5Z  
%Gj8F4{  
struts.action.extension s]mY*@a%  
      The URL extension to use to determine if the request is meant for a Struts action dd%h67J2<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WxJf{=-  
 2KN6}  
struts.configuration ;M#_6Hd?qD  
      The org.apache.struts2.config.Configuration implementation class O:"*q&;J  
        org.apache.struts2.config.Configuration接口名 =gvBz| +  
r8&^>4  
struts.configuration.files OD 3f.fT  
      A list of configuration files automatically loaded by Struts On@<J&%  
      struts自动加载的一个配置文件列表 4RV%Z!kcD!  
* Y7jl#7  
struts.configuration.xml.reload `|#Qx3n%  
      Whether to reload the XML configuration or not z=_Ef3`M  
      是否加载xml配置(true,false) 'd&0Js$^  
\nB8WSvk2W  
struts.continuations.package 4jBC9b}O  
      The package containing actions that use Rife continuations |t) }VM%  
      含有actions的完整连续的package名称 eKz?"g/j  
iNWo"=J  
struts.custom.i18n.resources \uq/x^?yo  
      Location of additional localization properties files to load !$Tw^$n  
      加载附加的国际化属性文件(不包含.properties后缀) b0A1hb[|  
T<@cd|`  
struts.custom.properties *B\H-lp?  
      Location of additional configuration properties files to load Vc%R$E%  
      加载附加的配置文件的位置 |'+eMl  
#8bsxx!s  
ofMY,~w  
struts.devMode U uM$~qf/K  
      Whether Struts is in development mode or not ;)I'WQ]Q  
      是否为struts开发模式 NeBsv= [-  
jhX[fT1m  
struts.dispatcher.parametersWorkaround @81Vc<dJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >'xGp7}y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p=B>~CH  
@]c(V%x   
struts.enable.DynamicMethodInvocation hj$ e|arB  
      Allows one to disable dynamic method invocation from the URL 8kOKwEX  
        允许动态方法调用 E)-r+ <l  
}KKY6D|d>  
struts.freemarker.manager.classname X3:XTuV   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W$o2 7f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 st &  
2Nm>5l  
struts.i18n.encoding kctzNGF|  
      The encoding to use for localization messages ^(f4*m6`  
      国际化信息内码 L0]_hxE?  
5P+t^\  
struts.i18n.reload ]cC[-F[  
      Whether the localization messages should automatically be reloaded R@yyur~'_(  
      是否国际化信息自动加载 {d%&zvJnD  
9W>Y#V~|v!  
struts.locale 5,;`$'?a%  
      The default locale for the Struts application G"59cv8z4R  
      默认的国际化地区信息 KkMay  
\WrFqm#  
struts.mapper.class C"qU-&*v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lvpc*d|K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X$\i{p9jw  
9Sq%s&  
struts.multipart.maxSize 5P h X"7  
      The maximize size of a multipart request (file upload) hv$m4,0WB  
      multipart请求信息的最大尺寸(文件上传用) f8<o8*`7  
R%H$%cnj  
struts.multipart.parser b7\ cxgRq  
      The org.apache.struts2.dispatcher.multipart. \zkw2*t  
      MultiPartRequest parser implementation for a multipart request (file upload) $hVYTy~}  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )|<_cwz  
4YMX|1wd)  
Grz 3{U  
struts.multipart.saveDir 0Hw-59MK  
      The directory to use for storing uploaded files xf>z@)e  
      设置存储上传文件的目录夹 m&0"<V!H/B  
"SoHt]%#  
struts.objectFactory 5ZPzPUa8~  
      The com.opensymphony.xwork2.ObjectFactory implementation class b2^AP\: k  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^t*x*m8  
!lmWb-v%36  
struts.objectFactory.spring.autoWire /_-;zL  
      Whether Spring should autoWire or not 'QH1=$Su  
      是否自动绑定Spring F'?I-jtI  
;C/bJEgdd  
struts.objectFactory.spring.useClassCache +~U=C9[gj  
      Whether Spring should use its class cache or not O0*e)i8  
      是否spring应该使用自身的cache ZRUhAp'<qj  
"$5\,  
struts.objectTypeDeterminer  `}no9$l~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Hj1 EGCA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b~C$R[S  
rspayO<]3  
struts.serve.static.browserCache &~f3psA  
If static content served by the Struts filter should set browser caching header properties or not FM5e+$>@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  ql&*6KZ"  
[r OaM$3|  
struts.serve.static zN_:nY>  
      Whether the Struts filter should serve static content or not - ?!:{UXl  
      是否struts过滤器应该提供静态内容 X7|.T0{=x  
?68uS;  
struts.tag.altSyntax Q1&P@Io$  
      Whether to use the alterative syntax for the tags or not +>g`m)?p  
      是否可以用替代的语法替代tags =KX<_;E  
nxap\Lf  
struts.ui.templateDir $ Cjk  
      The directory containing UI templates 3Gr&p6  
      UI templates的目录夹 D 0]a\,aZ  
w, jcm;  
struts.ui.theme D~&Mwsi  
      The default UI template theme iY/KSX^~O  
      默认的UI template主题 o8FXqTUcs4  
q cA`)j  
struts.url.http.port qturd7  
      The HTTP port used by Struts URLs Y ZaP  
      设置http端口 7/X"z=Q^|  
Zq ot{s  
struts.url.https.port 3|@t%K  
      The HTTPS port used by Struts URLs {-63/z  
      设置https端口 3rf#Q }"  
tllBCuAe  
struts.url.includeParams I/COqU7~  
      The default includeParams method to generate Struts URLs W)SjQp6  
      在url中产生 默认的includeParams mf|pNiQ,  
-05U%l1e  
@#b0T:+v'  
struts.velocity.configfile mg+k'Myo+  
      The Velocity configuration file path ~HUZ#rUHm>  
      velocity配置文件路径 PG)_L.7rJ  
K2/E#}/  
struts.velocity.contexts f!-Sz/c#  
      List of Velocity context names 'CS.p!Z\  
      velocity的context列表 NyI ;v =  
%W|DJ\l8"  
Dd2Lx&9  
struts.velocity.manager.classname "t&{yBQ0u  
      org.apache.struts2.views.velocity.VelocityManager implementation class /k7wwZiY@  
      org.apache.struts2.views.velocity.VelocityManager接口名 5y_"  
tnW;E\cR  
struts.velocity.toolboxlocation H=zN[MU  
      The location of the Velocity toolbox .)8   
      velocity工具盒的位置 >e8JK*Blz  
struts.xslt.nocache [7"}=9  
      Whether or not XSLT templates should not be cached {.#zHL ;  
      是否XSLT模版应该被缓存 ZZ A.a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五