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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ks19e>'5Q  
y <] x  
struts.action.extension (baBi9<P=  
      The URL extension to use to determine if the request is meant for a Struts action e|1.-P@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ah :d2*SR4  
[ikW3 '99,  
struts.configuration Gov]^?^D-  
      The org.apache.struts2.config.Configuration implementation class M4}b l h#  
        org.apache.struts2.config.Configuration接口名 5do49H_  
$Cnv]1%  
struts.configuration.files .(g"(fgF  
      A list of configuration files automatically loaded by Struts ]L6[ vJHx  
      struts自动加载的一个配置文件列表 &RB{0Qhx  
}kZ)|/]kn  
struts.configuration.xml.reload 3Z_\.Z1R@  
      Whether to reload the XML configuration or not  -^ceTzW+  
      是否加载xml配置(true,false) |\BxKwS^  
EBMZ7b-7  
struts.continuations.package as^!c!  
      The package containing actions that use Rife continuations IRG-H!FV  
      含有actions的完整连续的package名称 A<p6]#t#X)  
qxbGUyH==  
struts.custom.i18n.resources 5}Z_A?gy  
      Location of additional localization properties files to load 6<SX%Bc~  
      加载附加的国际化属性文件(不包含.properties后缀) 2 Q}^<^r  
sI<PYi={-6  
struts.custom.properties 8[rZRc  
      Location of additional configuration properties files to load D}T+X ;u)K  
      加载附加的配置文件的位置 CNM pyr  
=wquFA!c  
p>h&SD?b  
struts.devMode ;%^T*?t  
      Whether Struts is in development mode or not Jp 7m$D%  
      是否为struts开发模式 i87+9X  
W&=F<n`  
struts.dispatcher.parametersWorkaround Qv B%X)J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Lq#$q>!K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )(V!& w6  
\AY*x=PF  
struts.enable.DynamicMethodInvocation #-7w |  
      Allows one to disable dynamic method invocation from the URL 6 K-jje;)  
        允许动态方法调用 8~|tl,  
'U*Kb  
struts.freemarker.manager.classname $s<bKju  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AGMrBd|J{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .azA1@V|  
M0K+Vz=  
struts.i18n.encoding _>u0vGF-  
      The encoding to use for localization messages _FxQl ]@  
      国际化信息内码 5: vy_e&  
yL #2|t(  
struts.i18n.reload :9]"4ktoJ  
      Whether the localization messages should automatically be reloaded ,M0#?j>  
      是否国际化信息自动加载 x.%x|6G*  
+Z/aB*aVa^  
struts.locale iM_Zn!|@\  
      The default locale for the Struts application BvqypLI  
      默认的国际化地区信息 k.6(Q_TS  
i1 ^#TC$x  
struts.mapper.class QLDld[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class glUf. :]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 eb=#{  
{w52]5l  
struts.multipart.maxSize bCmlSu  
      The maximize size of a multipart request (file upload) q3e^vMK"  
      multipart请求信息的最大尺寸(文件上传用) :\69N/uw`  
$E6bu4I  
struts.multipart.parser ?bw1zYP  
      The org.apache.struts2.dispatcher.multipart. J_N`D+m  
      MultiPartRequest parser implementation for a multipart request (file upload) V1 O]L66  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U}:e-  
Bs;.oK5!n@  
hZ~ \Z S7  
struts.multipart.saveDir !9g >/9h  
      The directory to use for storing uploaded files j6#RV@ p`  
      设置存储上传文件的目录夹 hM[QR'\QS  
$;As7MI  
struts.objectFactory 9#)&  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7thB1cOJ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2[~|6 @n  
M D,+>kh  
struts.objectFactory.spring.autoWire R}0xWPt9G  
      Whether Spring should autoWire or not w6G<&1iH  
      是否自动绑定Spring VjGtEIew  
<?Y.w1  
struts.objectFactory.spring.useClassCache eG08Xt |lc  
      Whether Spring should use its class cache or not %dDwus  
      是否spring应该使用自身的cache ?X~U[dV?  
m$H(l4wB>  
struts.objectTypeDeterminer  IA{I|g<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2 `nOYK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Wer.VL  
;H`>jI$  
struts.serve.static.browserCache  o\-:  
If static content served by the Struts filter should set browser caching header properties or not :FWo,fq?:{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Kn4x _9  
c5AEn -Q  
struts.serve.static a[ A*9%a  
      Whether the Struts filter should serve static content or not X%]m^[6  
      是否struts过滤器应该提供静态内容 /5r!Fhx  
yQdoy^d/4  
struts.tag.altSyntax 7!jb ID~  
      Whether to use the alterative syntax for the tags or not BjAmM*k  
      是否可以用替代的语法替代tags U`)o$4Bq  
KpSho<  
struts.ui.templateDir 99u9L)  
      The directory containing UI templates MClvmv^  
      UI templates的目录夹 , Vr'F  
'J(B{B7|  
struts.ui.theme <p\iB'y  
      The default UI template theme PNG!q}(c  
      默认的UI template主题 L0EF CQ7  
{/K_NSg+h  
struts.url.http.port rFU|oDF  
      The HTTP port used by Struts URLs /p7-D;  
      设置http端口 !F[^?:pK  
Yxd&hr  
struts.url.https.port Oq4J$/%  
      The HTTPS port used by Struts URLs nEbJ,#>Z  
      设置https端口 IHStN,QD  
\iM  
struts.url.includeParams P,ud"F=r  
      The default includeParams method to generate Struts URLs 6U[bAp  
      在url中产生 默认的includeParams @`H47@e  
/d-d8n  
} 0x'm  
struts.velocity.configfile !R"iV^?V  
      The Velocity configuration file path _'"$,~ZWY  
      velocity配置文件路径 pqnZ:'V  
;nZN}&m   
struts.velocity.contexts 0zrZrl  
      List of Velocity context names 2-x#|9  
      velocity的context列表 =x^b  
OM 4, Sevk  
~CQTPR  
struts.velocity.manager.classname >Z&Y!w'A|u  
      org.apache.struts2.views.velocity.VelocityManager implementation class }.74w0~0^  
      org.apache.struts2.views.velocity.VelocityManager接口名 FCPi U3  
(|_N2R!  
struts.velocity.toolboxlocation }RN&w ]<  
      The location of the Velocity toolbox uwhb-.w  
      velocity工具盒的位置 :Miri_l  
struts.xslt.nocache 9Netnzv%  
      Whether or not XSLT templates should not be cached @-G^Jm9~\m  
      是否XSLT模版应该被缓存 .7v .DR>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五