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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?$ rSbw  
UdBP2lGd  
struts.action.extension \9[_*  
      The URL extension to use to determine if the request is meant for a Struts action hVvPI1[2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 45cMG~]p  
f<!3vAh  
struts.configuration Obl']Hr{y9  
      The org.apache.struts2.config.Configuration implementation class V0'T)  
        org.apache.struts2.config.Configuration接口名 *Q= 3v  
iTb k]$  
struts.configuration.files 8<z]rLQw?%  
      A list of configuration files automatically loaded by Struts }(}+I}&~  
      struts自动加载的一个配置文件列表 zj G>=2  
IfyyA  
struts.configuration.xml.reload <@;Y.76~  
      Whether to reload the XML configuration or not Rg/*)SKj  
      是否加载xml配置(true,false) -b1VY4m-  
6.]x@=Wm  
struts.continuations.package kbij Zj{  
      The package containing actions that use Rife continuations lWYZAF>?Ym  
      含有actions的完整连续的package名称 3hzI6otKS  
Q/e$Ttt4J  
struts.custom.i18n.resources 5)=XzO0  
      Location of additional localization properties files to load Z4eu'.r-y~  
      加载附加的国际化属性文件(不包含.properties后缀) $s]c'D)  
3Q-i%7l  
struts.custom.properties jI`1>>N&1  
      Location of additional configuration properties files to load aBV{Xr~#(  
      加载附加的配置文件的位置 caA>; +aBH  
tx-HY<  
SoS GQ&k  
struts.devMode $6p_`LD0  
      Whether Struts is in development mode or not n0o'ns  
      是否为struts开发模式 /.leY$  
99T_y`df  
struts.dispatcher.parametersWorkaround WdXi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C %l!"s^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KH4 5A'o  
f< A@D"m/  
struts.enable.DynamicMethodInvocation )"j)9RQ}  
      Allows one to disable dynamic method invocation from the URL fX)C8J^=G  
        允许动态方法调用 [K2\e N~g  
k0;ND  
struts.freemarker.manager.classname } Qjp,(ye  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 76i)m!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Nr.maucny  
b_Us%{  
struts.i18n.encoding CTu#KJ?j  
      The encoding to use for localization messages }F=+*-SYZ  
      国际化信息内码 A aLj.HR  
"^A4!.  
struts.i18n.reload fJ!i%</V  
      Whether the localization messages should automatically be reloaded d8 1u  
      是否国际化信息自动加载 f<.43kv@  
d ]LF5*i  
struts.locale 5B+>28G%  
      The default locale for the Struts application >Le L%$  
      默认的国际化地区信息 _c}@Fi+E  
R-Y|;  
struts.mapper.class *&VH!K#@{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u(ep$>[F#_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 chjXsq#Q^  
mmC&xZ5f  
struts.multipart.maxSize YmP`Gg#> p  
      The maximize size of a multipart request (file upload) 3JuWG\r)l  
      multipart请求信息的最大尺寸(文件上传用) dQfVdqg  
i#I+   
struts.multipart.parser hdB.u^!  
      The org.apache.struts2.dispatcher.multipart. a9rn[n1Q  
      MultiPartRequest parser implementation for a multipart request (file upload) m>4jRr6sF  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y)@mL~){  
I>k >^  
^WDAW#f*<  
struts.multipart.saveDir )+]8T6~ N  
      The directory to use for storing uploaded files q$vATT  
      设置存储上传文件的目录夹 S4RvWTtQV  
*2O4*Q1  
struts.objectFactory F.P4c:GD  
      The com.opensymphony.xwork2.ObjectFactory implementation class !;'. mMO&%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) r&AX  
=2HR+  
struts.objectFactory.spring.autoWire & [)1LRt_  
      Whether Spring should autoWire or not e|:#Y^  
      是否自动绑定Spring N>z<v\`  
b2;+a(  
struts.objectFactory.spring.useClassCache k/+-Tq;  
      Whether Spring should use its class cache or not u|m>h(O  
      是否spring应该使用自身的cache [n/'JeG5  
19od# d3+  
struts.objectTypeDeterminer D3#/*Ky  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %JBFG.+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +hdD*}qauC  
%GUu{n<6  
struts.serve.static.browserCache [t55Kz*cD  
If static content served by the Struts filter should set browser caching header properties or not 5ru&In&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C2GF N1i  
I8r5u=PH  
struts.serve.static s^KUe%am0  
      Whether the Struts filter should serve static content or not HC,YmO:df"  
      是否struts过滤器应该提供静态内容 1 h(oty2p  
uWw4l"RK`  
struts.tag.altSyntax 8zew8I~s  
      Whether to use the alterative syntax for the tags or not G%N/]]ll  
      是否可以用替代的语法替代tags BXgAohg!  
/E'c y  
struts.ui.templateDir h?wNmLre  
      The directory containing UI templates ]=v_u9;  
      UI templates的目录夹 mx@F^  
y=y=W5#;77  
struts.ui.theme FoM4QO  
      The default UI template theme \tFg10  
      默认的UI template主题 xao'L  
\-k X-Tq  
struts.url.http.port 2kV[A92s  
      The HTTP port used by Struts URLs aaq{9Y#  
      设置http端口 (p<QRb:&Z  
'| Enc"U  
struts.url.https.port <VD^f  
      The HTTPS port used by Struts URLs ?qr-t+  
      设置https端口 XWvT(+J  
9tmYrhb$  
struts.url.includeParams <b!ieK?\F3  
      The default includeParams method to generate Struts URLs ?c)PBJ+]  
      在url中产生 默认的includeParams V6l*!R  
Ojj:YLlY>  
4HlOv % 8  
struts.velocity.configfile 8[LwG&  
      The Velocity configuration file path ;+]9KIa_Pq  
      velocity配置文件路径 Dt,b\6  
& f7{3BK  
struts.velocity.contexts [.DSY[!8U  
      List of Velocity context names  (A 2x  
      velocity的context列表 Y(IT#x?p  
Vm.&JVb  
UF)rBAv(/  
struts.velocity.manager.classname Zd@'s.,J  
      org.apache.struts2.views.velocity.VelocityManager implementation class 65bLkR{0  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?Dro)fH1  
5T,Doxo  
struts.velocity.toolboxlocation gwk$|aT@  
      The location of the Velocity toolbox ia15r\4j)  
      velocity工具盒的位置 <{@?c  
struts.xslt.nocache MdK!Y  
      Whether or not XSLT templates should not be cached .J' 8d"+  
      是否XSLT模版应该被缓存 4?XX_=+F|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五