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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5bBY[qp  
clyZD`*  
struts.action.extension _<}oBh  
      The URL extension to use to determine if the request is meant for a Struts action n.F^9j+V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K+|G9  
crTRfqF  
struts.configuration Nz1u:D]  
      The org.apache.struts2.config.Configuration implementation class wN Mf-~  
        org.apache.struts2.config.Configuration接口名 zO)Bf(  
4sMA'fG  
struts.configuration.files [&eG>zF"  
      A list of configuration files automatically loaded by Struts -Ph"#R&  
      struts自动加载的一个配置文件列表 bS7%%8C  
@? e+;Sx  
struts.configuration.xml.reload QN)EPS:y  
      Whether to reload the XML configuration or not Q!.JV. (  
      是否加载xml配置(true,false) xU9T8Lw  
5d|hP4fEc  
struts.continuations.package <aSjK#  
      The package containing actions that use Rife continuations 1K\z amBg  
      含有actions的完整连续的package名称 upi\pXv  
DXyRNE<G[C  
struts.custom.i18n.resources XN|[8+#U<@  
      Location of additional localization properties files to load ]?c9;U  
      加载附加的国际化属性文件(不包含.properties后缀) 1{1 5#W  
"d"6.ND  
struts.custom.properties cb82k[L6  
      Location of additional configuration properties files to load ?vh1 >1D  
      加载附加的配置文件的位置 JIL(\d  
q!f'?yFYK  
'nJ,mZx  
struts.devMode a1#",%{I  
      Whether Struts is in development mode or not vLI'Z)\  
      是否为struts开发模式 ]Ub"NLYV  
grVPu! B;  
struts.dispatcher.parametersWorkaround A9Kt^HR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :yxP3e%rp  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b,hRk1  
xlIVLv6dO  
struts.enable.DynamicMethodInvocation yo^M>^P\N  
      Allows one to disable dynamic method invocation from the URL *jCHv  
        允许动态方法调用 &a8%j+j  
zt!)7HBo  
struts.freemarker.manager.classname t XfXuHa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JIatRc?g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !(A<  
gk hmQd  
struts.i18n.encoding FeL!%z  
      The encoding to use for localization messages ?uh%WN6nU]  
      国际化信息内码 mlLx!5h=  
{Ri6975  
struts.i18n.reload jI/#NCKE  
      Whether the localization messages should automatically be reloaded 7x=-1wbi  
      是否国际化信息自动加载 <I 0EjV  
<g$bM;6%  
struts.locale thLx!t  
      The default locale for the Struts application z?<Xx?Kk  
      默认的国际化地区信息 _J&IL!S2  
>c)-o}bd^  
struts.mapper.class Lo*vt42{4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q"0_Px9P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^Ycn&`s  
|BEoF[1  
struts.multipart.maxSize ]kdU]}z  
      The maximize size of a multipart request (file upload) +OaBA>Jh9  
      multipart请求信息的最大尺寸(文件上传用) gY {/)"  
*JArR1J  
struts.multipart.parser O-(gkE  
      The org.apache.struts2.dispatcher.multipart. cC pNF `DN  
      MultiPartRequest parser implementation for a multipart request (file upload) ]?sw<D{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) sjy/[.4-  
@HQqHO&N  
f]NaQ!. 7  
struts.multipart.saveDir xey?.2K1A  
      The directory to use for storing uploaded files * `3+x  
      设置存储上传文件的目录夹 Owz>g4l r  
yk0^m/=C(  
struts.objectFactory T_j0*A $  
      The com.opensymphony.xwork2.ObjectFactory implementation class @rE+H 5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @yNCWa~N  
Z{^Pnit  
struts.objectFactory.spring.autoWire RPw1i*  
      Whether Spring should autoWire or not ("s!t?!&YS  
      是否自动绑定Spring h'B0rVQia>  
V~7Oa2'#B  
struts.objectFactory.spring.useClassCache wBCBZs$H  
      Whether Spring should use its class cache or not ^tL]QE?|  
      是否spring应该使用自身的cache MjW{JR)I  
,l#f6H7p  
struts.objectTypeDeterminer k r5'E#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Wgm{ ]9Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QfV:&b`  
%Vb~}sT:  
struts.serve.static.browserCache zP>=K  
If static content served by the Struts filter should set browser caching header properties or not nNhb,J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 DD'RSV5]  
G&q@B`I  
struts.serve.static :gM_v?sy  
      Whether the Struts filter should serve static content or not ts &sr  
      是否struts过滤器应该提供静态内容 ~.E r  
\iH\N/  
struts.tag.altSyntax ^Sc48iDc  
      Whether to use the alterative syntax for the tags or not OzV|z/R2'  
      是否可以用替代的语法替代tags ]Wn=Oc{F  
2,rjy|R`  
struts.ui.templateDir _N"c,P0  
      The directory containing UI templates fBLR  
      UI templates的目录夹 b\vL^\bX8  
i\zN1T_  
struts.ui.theme MZt&HbD-  
      The default UI template theme Na.)!h_Kn'  
      默认的UI template主题 :0% $u>;O:  
vv1W<X0e<  
struts.url.http.port @4wN-T+1  
      The HTTP port used by Struts URLs $aY:Z_s  
      设置http端口 e@DVf  
j34lPo `  
struts.url.https.port pnGDM)H7  
      The HTTPS port used by Struts URLs Y'?{yx{  
      设置https端口 ^o(C\\>{&  
8Yw V"+Fu/  
struts.url.includeParams `G2!{3UD  
      The default includeParams method to generate Struts URLs =c#;c+a  
      在url中产生 默认的includeParams )2?A|f8  
vPsf{[Kr  
-:Jn|=  
struts.velocity.configfile ]m\:XhI*<  
      The Velocity configuration file path b`^mpB*6R  
      velocity配置文件路径 ?Lem|zo  
oF.H?lG7`  
struts.velocity.contexts $yZ(ws  
      List of Velocity context names Q oWjC  
      velocity的context列表 w/wU~~  
d[&Ah~,  
kOV6O?h  
struts.velocity.manager.classname }-PV%MNud  
      org.apache.struts2.views.velocity.VelocityManager implementation class 84c[Z   
      org.apache.struts2.views.velocity.VelocityManager接口名 7jPn6uz>w  
:Oc&{z?q  
struts.velocity.toolboxlocation 78O5$?b;#  
      The location of the Velocity toolbox * oru;=D@8  
      velocity工具盒的位置 u4~( 0  
struts.xslt.nocache M7 gM#bv>L  
      Whether or not XSLT templates should not be cached W4S]2P>T  
      是否XSLT模版应该被缓存 9|2LuHQu+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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