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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |wnXBKV(  
j~|pSu.<  
struts.action.extension |KV|x ^fJ  
      The URL extension to use to determine if the request is meant for a Struts action o@&Hc bN^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5#DtaVz  
b6@(UneVM  
struts.configuration Zj(2$9IU  
      The org.apache.struts2.config.Configuration implementation class ~^&]8~m*d  
        org.apache.struts2.config.Configuration接口名 jp~C''Sj  
cZd9A(1"^  
struts.configuration.files @w8MOT$  
      A list of configuration files automatically loaded by Struts zlUXp0W  
      struts自动加载的一个配置文件列表 n<}t\<LG^c  
1Qc>A8SU  
struts.configuration.xml.reload 2|LgUA?<  
      Whether to reload the XML configuration or not Ewfzjc  
      是否加载xml配置(true,false) 7j9X<8 *  
?89K [D|  
struts.continuations.package `t@Rh~B  
      The package containing actions that use Rife continuations j4!g&F _y  
      含有actions的完整连续的package名称 Y-0o>:SM  
H=_ Wio  
struts.custom.i18n.resources $.7Ov|  
      Location of additional localization properties files to load Lrr1) h  
      加载附加的国际化属性文件(不包含.properties后缀) NZP>aV-  
,?'":T1[  
struts.custom.properties qs["&\@  
      Location of additional configuration properties files to load ?hz9]I/8  
      加载附加的配置文件的位置 f  _ O  
c]u^0X?&  
5._=m"Pl  
struts.devMode c{qoASc?  
      Whether Struts is in development mode or not dbmty|d  
      是否为struts开发模式 |#87|XIJ&~  
Po ,zTz   
struts.dispatcher.parametersWorkaround \Y>!vh X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =;) M+"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i*T>, z  
8 [z<gxP`?  
struts.enable.DynamicMethodInvocation g9rsw7  
      Allows one to disable dynamic method invocation from the URL Zx1I&K\Cd  
        允许动态方法调用 rA">< pH  
v>4kF _N  
struts.freemarker.manager.classname ^GyGh{@,f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class zFR=inI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 T|/B}srm  
|t1ij'N  
struts.i18n.encoding _olhCLIR-  
      The encoding to use for localization messages Q#,j,h  
      国际化信息内码 "#3p=}]  
Tej&1'G  
struts.i18n.reload 4!I;U>b b  
      Whether the localization messages should automatically be reloaded F+lsza  
      是否国际化信息自动加载 k~ YZT 8  
k=7+JI"J  
struts.locale "1-|ahW  
      The default locale for the Struts application `:4\RcTb/  
      默认的国际化地区信息 [i  ]  
Q9\6Pn ]T  
struts.mapper.class ,.g9HO/R1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ssWSY(j]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x}c%8dO#J  
F1q a`j^'  
struts.multipart.maxSize G;'=#c ^  
      The maximize size of a multipart request (file upload) _(TYR*  
      multipart请求信息的最大尺寸(文件上传用) SviGLv;oR  
#nzVgV]  
struts.multipart.parser `akbzHOM  
      The org.apache.struts2.dispatcher.multipart. " iKX-VIl  
      MultiPartRequest parser implementation for a multipart request (file upload) TqZ&X| G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DaK2P;WP  
PCx] >&  
#Q6.r.3@x  
struts.multipart.saveDir cc$L56q  
      The directory to use for storing uploaded files W,g0n=2V  
      设置存储上传文件的目录夹 HZG<aY="  
.t7mTpi  
struts.objectFactory !Q0aKkMfL  
      The com.opensymphony.xwork2.ObjectFactory implementation class '(qVA>S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :kaHvf  
Py3Y*YP  
struts.objectFactory.spring.autoWire 0VA$ Ige  
      Whether Spring should autoWire or not uPp9 UW  
      是否自动绑定Spring + pq/:h  
2f=7`1RCD  
struts.objectFactory.spring.useClassCache Y(` # J[  
      Whether Spring should use its class cache or not 1\~-No  
      是否spring应该使用自身的cache E2 5:e EXa  
RjOQSy3  
struts.objectTypeDeterminer M<s Y_<z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .2si[:_(p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  =Y0>b4  
og! d  
struts.serve.static.browserCache B F,rZZL  
If static content served by the Struts filter should set browser caching header properties or not dp&bcR&#)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VgoN=S  
TsX(=N_  
struts.serve.static o C5}[cYD`  
      Whether the Struts filter should serve static content or not R>3a?.X  
      是否struts过滤器应该提供静态内容 "]"!"#aMv  
!GNLq.rQ  
struts.tag.altSyntax "(U%Vg|)  
      Whether to use the alterative syntax for the tags or not !aVwmd'9  
      是否可以用替代的语法替代tags i l)LkZ@  
\Jcj4  
struts.ui.templateDir #4iiY6  
      The directory containing UI templates #]BpTpRAe<  
      UI templates的目录夹 c T[.T#I  
y'a(>s(  
struts.ui.theme K?4/x4p@  
      The default UI template theme Pdg%:aY  
      默认的UI template主题 +Yuy%VT  
/j{`hi  
struts.url.http.port S!/N lSr<  
      The HTTP port used by Struts URLs &)8-iO  
      设置http端口 Gm]]Z_  
@`</Z)  
struts.url.https.port oQkY@)3.w  
      The HTTPS port used by Struts URLs #kuk3}&  
      设置https端口 <MPoDf?h  
)bM #s">Y  
struts.url.includeParams @rTAbEk{U  
      The default includeParams method to generate Struts URLs @\!9dK-W  
      在url中产生 默认的includeParams )k@+8Yfa1p  
Sb9In_* 0  
Ww }qK|D  
struts.velocity.configfile e^Ds|}{V  
      The Velocity configuration file path r RfPq  
      velocity配置文件路径 u_5O<UP5  
xyoh B#'W  
struts.velocity.contexts zeXMi:X  
      List of Velocity context names ~4{E0om@  
      velocity的context列表 Rj/9\F3H  
T}?vp~./   
%/^k r ZD  
struts.velocity.manager.classname E rf$WPA  
      org.apache.struts2.views.velocity.VelocityManager implementation class d^&F%)AT  
      org.apache.struts2.views.velocity.VelocityManager接口名 /!r#=enG7  
Vs)%*1><  
struts.velocity.toolboxlocation UacGq,  
      The location of the Velocity toolbox ATeXOe  
      velocity工具盒的位置 +dkbt%7M  
struts.xslt.nocache )BuS'oB  
      Whether or not XSLT templates should not be cached  n(mS  
      是否XSLT模版应该被缓存 }> 51oBgk_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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