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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $WmB__  
p+M#hF5o  
struts.action.extension cj K\(b3  
      The URL extension to use to determine if the request is meant for a Struts action k{\wjaf)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E)w6ZwV  
a7$-gW"Z(,  
struts.configuration ASGV3r (  
      The org.apache.struts2.config.Configuration implementation class 6d~[j <@2  
        org.apache.struts2.config.Configuration接口名 8xf]zM"Q  
K^32nQX  
struts.configuration.files ^4MRG6G  
      A list of configuration files automatically loaded by Struts Q /D?U[G  
      struts自动加载的一个配置文件列表 JTGA\K  
/B"FGa04p(  
struts.configuration.xml.reload g Va;!  
      Whether to reload the XML configuration or not (sM$=M<$  
      是否加载xml配置(true,false) C_> WU   
~dc o  
struts.continuations.package xXb7/.*qE  
      The package containing actions that use Rife continuations ul(pp+%S  
      含有actions的完整连续的package名称 /Ne;Kdp  
$-^ ;Jl  
struts.custom.i18n.resources B:mtl?69g  
      Location of additional localization properties files to load &#/UWv}f 0  
      加载附加的国际化属性文件(不包含.properties后缀) z`]sWi F0  
*2,tGZ  
struts.custom.properties Z$*m=]2  
      Location of additional configuration properties files to load q,;8Ka )  
      加载附加的配置文件的位置 (JMk0H3u  
!LI 8Xk  
|)KOy~"  
struts.devMode y26?>.!  
      Whether Struts is in development mode or not c"*xw8|  
      是否为struts开发模式 (V(8E%<c  
x)+ q$FB  
struts.dispatcher.parametersWorkaround My6a.Kl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !)r1zSY"g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a~*wZJ  
'@6O3z_{  
struts.enable.DynamicMethodInvocation y.>1r7  
      Allows one to disable dynamic method invocation from the URL 6Pp3*O`/V  
        允许动态方法调用 )# os!Ns_A  
U{C& R&z  
struts.freemarker.manager.classname ee2k..Tq#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0{^ 0>H0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 'Lu d=u{  
fphi['X   
struts.i18n.encoding E"<-To  
      The encoding to use for localization messages ^\ku}X_ [?  
      国际化信息内码 V=d~}PJ>  
@@W-]SR  
struts.i18n.reload >PS`;S!(  
      Whether the localization messages should automatically be reloaded r=gF&Og,?  
      是否国际化信息自动加载 jp+s[rRc\{  
% <1&\5f<5  
struts.locale _uL8TC ^  
      The default locale for the Struts application L3;cAb/  
      默认的国际化地区信息 dKpUw9C#/  
Ud:;kI%Vj  
struts.mapper.class Oa-(Xp,n#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C2;Hugm4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 eWGaGRem  
h+DK .$  
struts.multipart.maxSize ,p' ;Xg6ez  
      The maximize size of a multipart request (file upload) { Ba_.]x  
      multipart请求信息的最大尺寸(文件上传用) <4:%M  
3f-J%!aH  
struts.multipart.parser -|2k$W  
      The org.apache.struts2.dispatcher.multipart. Mi<l;ZP  
      MultiPartRequest parser implementation for a multipart request (file upload) Yn5a4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EkpM'j=  
Oj1B @QE  
%7A?gY81  
struts.multipart.saveDir HhB&vi  
      The directory to use for storing uploaded files E_H.!pr  
      设置存储上传文件的目录夹 BIxjY!!"  
z7!@^!r  
struts.objectFactory 4Z0Y8y8)  
      The com.opensymphony.xwork2.ObjectFactory implementation class xM:9XhH1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H~; s$!lG  
J'C%  
struts.objectFactory.spring.autoWire .cK<jF@'  
      Whether Spring should autoWire or not a8 .x=j<  
      是否自动绑定Spring a 9!.e rM  
:Izdj*HL;A  
struts.objectFactory.spring.useClassCache y4%[^g~-  
      Whether Spring should use its class cache or not oAF#bj_f  
      是否spring应该使用自身的cache 'MQJt2QU9{  
.R _-$/ZP  
struts.objectTypeDeterminer vw*,_f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /DX6Hkkj%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \t ^9UN  
ei!Yxw8d  
struts.serve.static.browserCache $ S]l%  
If static content served by the Struts filter should set browser caching header properties or not S\0?~l"}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rg7~?b-  
C zxF  
struts.serve.static P;K <P  
      Whether the Struts filter should serve static content or not H|z:j35\  
      是否struts过滤器应该提供静态内容 xeW}`i5_w  
LLPbZ9q  
struts.tag.altSyntax UF;iw  
      Whether to use the alterative syntax for the tags or not ;uaZp.<um&  
      是否可以用替代的语法替代tags -Q" N;&'[&  
vt(cC) )  
struts.ui.templateDir Id=g!L|  
      The directory containing UI templates 9uW\~DwsZ%  
      UI templates的目录夹 ok/{ w  
bj_oA i  
struts.ui.theme -5GRit1q?  
      The default UI template theme C%Fc%}[  
      默认的UI template主题 %Wa. 2s  
<CN+VXF  
struts.url.http.port C/YjMYwKgv  
      The HTTP port used by Struts URLs c}mWAZ=wF  
      设置http端口 Q6hWHfS  
'\R/-.  
struts.url.https.port tjbI*Pw7(  
      The HTTPS port used by Struts URLs ~JTp8E9kw  
      设置https端口 Qn`Fq,uvL  
6.k>J{GG  
struts.url.includeParams ?btZdnQ))S  
      The default includeParams method to generate Struts URLs {xCqz0  
      在url中产生 默认的includeParams Qw.j  
!1xX)XD4y  
,o s M|!,  
struts.velocity.configfile s]2_d|Y  
      The Velocity configuration file path ,m1F<Pdts  
      velocity配置文件路径 L]{1@~E:q  
-}9>#<v  
struts.velocity.contexts ':DLv{R  
      List of Velocity context names O^sOv!!RH/  
      velocity的context列表 iDV. C@   
T[eb<  
`l + pk%  
struts.velocity.manager.classname [6f(3|"  
      org.apache.struts2.views.velocity.VelocityManager implementation class MT{ovDA].  
      org.apache.struts2.views.velocity.VelocityManager接口名 #SqU>R  
h4tAaPcS+  
struts.velocity.toolboxlocation O^KIB%}fu  
      The location of the Velocity toolbox s}bv o  
      velocity工具盒的位置 l 1eF&wNC  
struts.xslt.nocache .?)gn]#  
      Whether or not XSLT templates should not be cached 67A g.f6-  
      是否XSLT模版应该被缓存 }$Z0v`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五