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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &!3VqHQ`  
U'f$YVc  
struts.action.extension ?yK%]1O  
      The URL extension to use to determine if the request is meant for a Struts action %[+a[/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -oaG|  
9-X{x95]  
struts.configuration N,'[:{GOY  
      The org.apache.struts2.config.Configuration implementation class x mrugNRg  
        org.apache.struts2.config.Configuration接口名 ^Yg|P&e(;  
f4A4  
struts.configuration.files |wyJh"4!  
      A list of configuration files automatically loaded by Struts FVvv   
      struts自动加载的一个配置文件列表 0|K/=dh5+  
UIm[DYMS  
struts.configuration.xml.reload 3. K{T  
      Whether to reload the XML configuration or not 7Y_fF1-wY  
      是否加载xml配置(true,false) $)kBz*C[  
1DI"LIL  
struts.continuations.package =2vMw]  
      The package containing actions that use Rife continuations )Yy#`t  
      含有actions的完整连续的package名称 D:RBq\8  
b}}1TnS)  
struts.custom.i18n.resources tNi% }~Z  
      Location of additional localization properties files to load d-#u/{jG)  
      加载附加的国际化属性文件(不包含.properties后缀) e!2%ku  
t^bdi}[  
struts.custom.properties +cE tm  
      Location of additional configuration properties files to load I!soV0V U]  
      加载附加的配置文件的位置 J6^Ct  
a2 klOX{  
XYxm8ee"j  
struts.devMode Vm,f3~  
      Whether Struts is in development mode or not %M0mwty]  
      是否为struts开发模式 Aa\=7  
7gdU9c/q,  
struts.dispatcher.parametersWorkaround DS,FVh".|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8#d1}Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +~i+k~{`H  
sP3.s_U^  
struts.enable.DynamicMethodInvocation E;GR;i{t  
      Allows one to disable dynamic method invocation from the URL lu@>?,<  
        允许动态方法调用 ek;&<Z_ ]  
M_e$l`"G  
struts.freemarker.manager.classname *|,ykb>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h,WY2Hr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 L/iVs`qF  
sY;gh`4h  
struts.i18n.encoding Mn }Z9S[  
      The encoding to use for localization messages 1N$gE  
      国际化信息内码 KZ<RDXVT  
J PzQBc5e  
struts.i18n.reload !qw=I(  
      Whether the localization messages should automatically be reloaded 5c}9  
      是否国际化信息自动加载 ;iC'{S  
b-(UsY:  
struts.locale 3!oQmG_T  
      The default locale for the Struts application /4B4IT  
      默认的国际化地区信息 j'40>Ct=i  
sc $QbOc  
struts.mapper.class  ZV q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -IE P?NX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UK <DcM~n  
hp z*jyh8  
struts.multipart.maxSize 5 *pN<S  
      The maximize size of a multipart request (file upload) F)5B[.ce  
      multipart请求信息的最大尺寸(文件上传用) k]/6/s\  
gUszMhHX  
struts.multipart.parser 7+!7]'V  
      The org.apache.struts2.dispatcher.multipart. v.LUK  
      MultiPartRequest parser implementation for a multipart request (file upload) .kKwdqO+zB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U1HD~  
Qhr]eu;z  
ocuVDC  
struts.multipart.saveDir FeeWZe0i  
      The directory to use for storing uploaded files L,A-G"z0Z  
      设置存储上传文件的目录夹 73z|'0.  
vwH7/+  
struts.objectFactory .q9|XDqQc  
      The com.opensymphony.xwork2.ObjectFactory implementation class $E,DxDT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ic]tUOC:  
=O'%)Y&  
struts.objectFactory.spring.autoWire ]|La MMD  
      Whether Spring should autoWire or not hCvLwZ?LF  
      是否自动绑定Spring Ufe  
:9 iOuu  
struts.objectFactory.spring.useClassCache Nx (pJp{S  
      Whether Spring should use its class cache or not ?M-8Fp3 +  
      是否spring应该使用自身的cache j _9<=Vu  
>.wd)  
struts.objectTypeDeterminer #M^Yh?~%w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;6 qdOD6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *;yMD-=  
o4 g  
struts.serve.static.browserCache {ZM2WFpE  
If static content served by the Struts filter should set browser caching header properties or not zu*G4?]~h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e, 0I~:  
6N+)LF}P b  
struts.serve.static F4<2.V)#-  
      Whether the Struts filter should serve static content or not G1^!ej  
      是否struts过滤器应该提供静态内容 %PdYv _5  
MVv^KezD  
struts.tag.altSyntax >;r05,mc  
      Whether to use the alterative syntax for the tags or not 2T%f~yQ^  
      是否可以用替代的语法替代tags LP-Q'vb<=  
R|$`MX}'z  
struts.ui.templateDir wBHDof xX  
      The directory containing UI templates 0\ w[_H  
      UI templates的目录夹 yIf}b  
yj+b/9My   
struts.ui.theme "3oU (RA  
      The default UI template theme Ib8{+j  
      默认的UI template主题 3 DHA^9<q  
`h3}"js  
struts.url.http.port "EhO )lR  
      The HTTP port used by Struts URLs v!h-h&p O7  
      设置http端口 fO(S+}  
AX RNV  
struts.url.https.port \\Tp40m+  
      The HTTPS port used by Struts URLs Rs[]i;  
      设置https端口 qML*Kwg  
jF_I4H  
struts.url.includeParams y]4 `d  
      The default includeParams method to generate Struts URLs /(pChY>  
      在url中产生 默认的includeParams PSR `8z n  
emPm^M5/K  
u`@FA?+E1  
struts.velocity.configfile RAbq_^Q  
      The Velocity configuration file path z35Rjhj9  
      velocity配置文件路径 n1(X%%2  
BQ0\+  
struts.velocity.contexts 6|cl`}g_j  
      List of Velocity context names aW$nNUVD  
      velocity的context列表 NP*0WT_gB  
NWK_(=n  
 Bt3=/<.\  
struts.velocity.manager.classname yvisoZX  
      org.apache.struts2.views.velocity.VelocityManager implementation class q:sR zX  
      org.apache.struts2.views.velocity.VelocityManager接口名 }l!_m.#e  
P[8N58#  
struts.velocity.toolboxlocation zRFM/IYC  
      The location of the Velocity toolbox z5vI0 N$  
      velocity工具盒的位置 as!j0j%  
struts.xslt.nocache S,RJ#.:F[t  
      Whether or not XSLT templates should not be cached 9W$)W  
      是否XSLT模版应该被缓存 ye2Oh7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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