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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .Q,"gsY  
P3&s<mh  
struts.action.extension *9EwZwE_K  
      The URL extension to use to determine if the request is meant for a Struts action A _zCSRF,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BB/wL_=:  
-[L\:'Gp5  
struts.configuration tF`L]1r>  
      The org.apache.struts2.config.Configuration implementation class /'rj L<M  
        org.apache.struts2.config.Configuration接口名 N|DI k  
qY#*LqV  
struts.configuration.files Qh1pX}X  
      A list of configuration files automatically loaded by Struts "/aZ*mkjfJ  
      struts自动加载的一个配置文件列表 PN l/}'  
j2MA['{  
struts.configuration.xml.reload O8@65URKx  
      Whether to reload the XML configuration or not cERIj0~  
      是否加载xml配置(true,false) -[7+g  
(XO=W+<'  
struts.continuations.package h9H z6 >  
      The package containing actions that use Rife continuations SN}K=)KF#  
      含有actions的完整连续的package名称 DWt|lO  
S{+t>en  
struts.custom.i18n.resources 0!\C@wnH  
      Location of additional localization properties files to load l/'GbuECm  
      加载附加的国际化属性文件(不包含.properties后缀) 1_] X  
w*VN =  
struts.custom.properties _YF>Y=D-  
      Location of additional configuration properties files to load /grTOf&  
      加载附加的配置文件的位置 $vegU]-R  
STW?0B'Jr  
)[Tm[o?Y.  
struts.devMode D$}8GYq  
      Whether Struts is in development mode or not 8!{*!|Xd  
      是否为struts开发模式 2<EV iP9  
)j36Y =r3  
struts.dispatcher.parametersWorkaround ,<rC,4-F<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .5 . (S^u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z@0tZ^V{  
Zd[rn:9\  
struts.enable.DynamicMethodInvocation _`udd)Y2  
      Allows one to disable dynamic method invocation from the URL t{]Ew4Y4%O  
        允许动态方法调用 OTXZdAv  
Ib#-M;{  
struts.freemarker.manager.classname _ nMd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I@cw=_EQL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3x+lf4"  
0Qt!w(  
struts.i18n.encoding E)_n?>Ar  
      The encoding to use for localization messages b w P=f.  
      国际化信息内码 ,>a!CnK=  
j&d5tgLB  
struts.i18n.reload %GhI0F #  
      Whether the localization messages should automatically be reloaded 1Toiqb/  
      是否国际化信息自动加载 >3uNh:|>/  
,eyh%k*hz  
struts.locale " ]S  
      The default locale for the Struts application 7S a9  
      默认的国际化地区信息 C t,p  
f*o  
struts.mapper.class Njc@5*rJ &  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kW/G=_6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 o P`l)`  
GTP'js  
struts.multipart.maxSize lmeTW0U@9(  
      The maximize size of a multipart request (file upload) BiYxI{VFD  
      multipart请求信息的最大尺寸(文件上传用) b)d;eS  
H9*k(lnz`  
struts.multipart.parser >@2<^&K`  
      The org.apache.struts2.dispatcher.multipart. GTdoUSUq  
      MultiPartRequest parser implementation for a multipart request (file upload) %biie  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [:y:_ECs6  
T8o](:B~  
B)JMughq_  
struts.multipart.saveDir L kK *.  
      The directory to use for storing uploaded files Ul}RT xJ  
      设置存储上传文件的目录夹  k[r^@|  
Ln h =y2  
struts.objectFactory >C|pY6  
      The com.opensymphony.xwork2.ObjectFactory implementation class ojd0um6I{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ybBmg'198  
{18hzhs  
struts.objectFactory.spring.autoWire >w S'z]T9  
      Whether Spring should autoWire or not e(0OZ_w  
      是否自动绑定Spring +S4n416K  
s;VW %e  
struts.objectFactory.spring.useClassCache r2=@1=?8  
      Whether Spring should use its class cache or not ;'7(gAE  
      是否spring应该使用自身的cache 4?R979  
N p"p*O  
struts.objectTypeDeterminer I&1Lm)W&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YYe G9yR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lz,M$HG<[  
xi5"?*&Sb  
struts.serve.static.browserCache ) D@j6r  
If static content served by the Struts filter should set browser caching header properties or not h&>3;Lj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cb}zCl j o  
(;{X-c}?  
struts.serve.static z?o8h N\  
      Whether the Struts filter should serve static content or not X8)k'h  
      是否struts过滤器应该提供静态内容 s)1-xA{'.  
=)Xj[NNRT  
struts.tag.altSyntax = lo.LFV  
      Whether to use the alterative syntax for the tags or not %(YQ)=w  
      是否可以用替代的语法替代tags `Lr], >aG  
$mQ0w~:@  
struts.ui.templateDir T8^9*]:@c!  
      The directory containing UI templates f^F;`;z  
      UI templates的目录夹 *Al@|5  
>d + }$dB  
struts.ui.theme X)b$CG  
      The default UI template theme \&Yn)|!  
      默认的UI template主题 25SWIpgG  
4aXIRu%#7  
struts.url.http.port 1/}H 0\9'  
      The HTTP port used by Struts URLs 8 lggGt  
      设置http端口 }S> 4.8  
[Hh-F#|R  
struts.url.https.port FIq'W:q:  
      The HTTPS port used by Struts URLs | b'Ut)E  
      设置https端口 E %mEfj7  
J2z/XHS  
struts.url.includeParams  /qLO/Mim  
      The default includeParams method to generate Struts URLs $[|(&8+7  
      在url中产生 默认的includeParams e*:K79 y  
`2.c=,S{  
1VJ${\H]  
struts.velocity.configfile 5u!\c(TJ+  
      The Velocity configuration file path eEZgG=s  
      velocity配置文件路径 f$lb.fy5  
?bZH Aed  
struts.velocity.contexts ,Z{\YAh1  
      List of Velocity context names 8b/$Qp4d  
      velocity的context列表 $bTtD<a  
5$9$R(KU  
 *&_*G~>D  
struts.velocity.manager.classname "jL>P )  
      org.apache.struts2.views.velocity.VelocityManager implementation class _Y; TS1u  
      org.apache.struts2.views.velocity.VelocityManager接口名 tV)CDA&Z  
f[o~d`z  
struts.velocity.toolboxlocation ',EI[ ]+  
      The location of the Velocity toolbox N~)-\T:ap  
      velocity工具盒的位置 QH'*MY  
struts.xslt.nocache :&BPKqKp  
      Whether or not XSLT templates should not be cached @c|=onx5  
      是否XSLT模版应该被缓存 rpow@@ad<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五