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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^@]3R QB  
pot~<d`:K"  
struts.action.extension ce(#2o&`  
      The URL extension to use to determine if the request is meant for a Struts action Ca\6vR  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,?3G;-  
z{>Rc"%\  
struts.configuration GthYzd:'hJ  
      The org.apache.struts2.config.Configuration implementation class 8>V5d Ebx'  
        org.apache.struts2.config.Configuration接口名 Ts9uL5i  
I:.s_8mH}  
struts.configuration.files M3AXe]<eC1  
      A list of configuration files automatically loaded by Struts Pc9H0\+Xk  
      struts自动加载的一个配置文件列表 zreU')a  
@PU [:;  
struts.configuration.xml.reload PW4q~rc=:  
      Whether to reload the XML configuration or not 0$njMnB2l  
      是否加载xml配置(true,false) #;<Y[hR{P  
@ |r{;'  
struts.continuations.package F}zDfY\-  
      The package containing actions that use Rife continuations I_BJH'!t  
      含有actions的完整连续的package名称 Debv4Gr;^  
r :dTz  
struts.custom.i18n.resources /<3UQLMa  
      Location of additional localization properties files to load 1&2>LE/P  
      加载附加的国际化属性文件(不包含.properties后缀) fR|A(u#9  
EQ ttoOO  
struts.custom.properties Wjc'*QCPl  
      Location of additional configuration properties files to load e# bn#  
      加载附加的配置文件的位置 g=rbPbu  
c`W,~[Q<O+  
y)*RV;^  
struts.devMode -HuA \0J  
      Whether Struts is in development mode or not ctUp=po  
      是否为struts开发模式 wS*E(IAl  
#Dac~>a'  
struts.dispatcher.parametersWorkaround *h|U,T7ew  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A=4OWV?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) / j^  
0`hdMLONR  
struts.enable.DynamicMethodInvocation n*$ g]G$  
      Allows one to disable dynamic method invocation from the URL Je{ykL?N  
        允许动态方法调用 v2?ZQeHr_(  
Yw9GN2AG  
struts.freemarker.manager.classname ry!!9Z>9n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W4N{S.#!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F5Va+z,jg  
If.r5z9  
struts.i18n.encoding Q20 %"&Xp]  
      The encoding to use for localization messages he4(hX^  
      国际化信息内码  )*[3Vq  
M`>E|" <  
struts.i18n.reload 1"g<0 W  
      Whether the localization messages should automatically be reloaded g5yJfRLxp  
      是否国际化信息自动加载 ]?*wbxU0  
26nx`w?j(  
struts.locale $C\BcKlmv  
      The default locale for the Struts application :%.D78&  
      默认的国际化地区信息 ?8$Q-1=  
z@Y;r=v  
struts.mapper.class Vc2`b3"Br  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `9 L>*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PM+[,H  
=}*0-\QG  
struts.multipart.maxSize 6 r"<jh#  
      The maximize size of a multipart request (file upload) ise-O1'  
      multipart请求信息的最大尺寸(文件上传用) putrSSL}  
?EL zj  
struts.multipart.parser :>*7=q=  
      The org.apache.struts2.dispatcher.multipart. _L PHPj^Pg  
      MultiPartRequest parser implementation for a multipart request (file upload) xwr8`?]y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ib`XT0k  
/\Ef%@  
9UkBwS`  
struts.multipart.saveDir }}[2SH'nH  
      The directory to use for storing uploaded files "#]$r  
      设置存储上传文件的目录夹 :0ep( <|;  
+H.`MZ=  
struts.objectFactory R8 T x[CJ5  
      The com.opensymphony.xwork2.ObjectFactory implementation class z}@7'_iJ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) G#CXs:1pd+  
liZxBs :%i  
struts.objectFactory.spring.autoWire ?0SEMmp`H  
      Whether Spring should autoWire or not *Uh!>Iv;  
      是否自动绑定Spring RpK@?[4s  
g*Phv|kI  
struts.objectFactory.spring.useClassCache K8~d^G  
      Whether Spring should use its class cache or not +:f"Y0  
      是否spring应该使用自身的cache hc1N ~$3!G  
`gJ(0#ac  
struts.objectTypeDeterminer SIllU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yr6V3],Tp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "z c l|@  
R=dC4;  
struts.serve.static.browserCache H[gWGbPq7  
If static content served by the Struts filter should set browser caching header properties or not ?(PKeq6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g\U-VZ6;p  
phK/   
struts.serve.static |zU-KGO&  
      Whether the Struts filter should serve static content or not XkqCZHYkS  
      是否struts过滤器应该提供静态内容 I*&8^ r:A  
"8/,Y"W"  
struts.tag.altSyntax qLCR] _*  
      Whether to use the alterative syntax for the tags or not N;d] 14|  
      是否可以用替代的语法替代tags DqPw#<"H  
u!s2 BC0}N  
struts.ui.templateDir So;<6~  
      The directory containing UI templates .6> w'F{>  
      UI templates的目录夹 R/_&m$ZB  
%C0Dw\A*:  
struts.ui.theme @7u0v  
      The default UI template theme [m -bV$-d  
      默认的UI template主题 \GBuWY3B  
@L`jk+Y0vF  
struts.url.http.port >sF)Bo Lc  
      The HTTP port used by Struts URLs cS$_\65  
      设置http端口 7nSxi+6e  
fOHxtHM  
struts.url.https.port 5N]"~w*  
      The HTTPS port used by Struts URLs 9^x> 3Bo  
      设置https端口 UBs4K*h|  
KXrjqqXs  
struts.url.includeParams i@q&5;%%  
      The default includeParams method to generate Struts URLs )_:NLo:  
      在url中产生 默认的includeParams 1cDF!X]  
Fcx&hj1gQ  
}qUX=s GG  
struts.velocity.configfile NRuNKl.v  
      The Velocity configuration file path Fu~j8K  
      velocity配置文件路径 o4;(Zi#Z  
gr{ DWCK  
struts.velocity.contexts z{543~Og59  
      List of Velocity context names ]iWRo'  
      velocity的context列表 {vj)76%y  
3R/bz0 V>  
Zfw,7am/  
struts.velocity.manager.classname KoRV %@I  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5(2;|I,T  
      org.apache.struts2.views.velocity.VelocityManager接口名 F{wzB  
y} '@R$  
struts.velocity.toolboxlocation l}h!B_P'  
      The location of the Velocity toolbox JC"z&ka  
      velocity工具盒的位置 eE Kf|I  
struts.xslt.nocache K:M8h{Ua  
      Whether or not XSLT templates should not be cached =D(j)<9$A  
      是否XSLT模版应该被缓存 h( 4v8ae  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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