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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5csqu^/y  
oB8x_0#n  
struts.action.extension Wz^M*=,  
      The URL extension to use to determine if the request is meant for a Struts action lW8!_h"G`n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nYF *f  
nYv`{0S+m  
struts.configuration =%Yw;% 0)Y  
      The org.apache.struts2.config.Configuration implementation class \;%DDw  
        org.apache.struts2.config.Configuration接口名 YV 5kzq  
!_|rVg.  
struts.configuration.files U'8ub(:&  
      A list of configuration files automatically loaded by Struts DwL4?!E  
      struts自动加载的一个配置文件列表 f/VrenZ_  
mAFVjSa2  
struts.configuration.xml.reload !83N. gN  
      Whether to reload the XML configuration or not b3 ,&RUF  
      是否加载xml配置(true,false) Y8fahQ#  
ji|`S\u#b  
struts.continuations.package {m&8Viq1  
      The package containing actions that use Rife continuations hR]AUH  
      含有actions的完整连续的package名称 J:c]z9&!  
eZr}xo@9  
struts.custom.i18n.resources Fk 5;  
      Location of additional localization properties files to load vX'@we7Q{  
      加载附加的国际化属性文件(不包含.properties后缀) SuHv{u45  
>^  E  
struts.custom.properties m#(tBfH[  
      Location of additional configuration properties files to load 8w[nY.#T  
      加载附加的配置文件的位置 A|D]e)/6+B  
77Fpb?0`  
S4jt*]w5b  
struts.devMode <KFE.\*Z4  
      Whether Struts is in development mode or not x*9CK8o=  
      是否为struts开发模式 6#JdQ[IP6  
&d`z|Gx9  
struts.dispatcher.parametersWorkaround 4rh*&'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /cy'% .!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a s{^~8B  
;,8bb(j  
struts.enable.DynamicMethodInvocation %>cl0W3x  
      Allows one to disable dynamic method invocation from the URL 1Ugyjjlz  
        允许动态方法调用 KXgC]IO~  
6G<t1?_yD  
struts.freemarker.manager.classname w :w  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jQKlJi2xu  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .3B3Z&vr  
e$E~@{[1)  
struts.i18n.encoding Y]5\%JR  
      The encoding to use for localization messages 6!,Am^uXM  
      国际化信息内码 U[ $KQEJYj  
s{-`y`JP  
struts.i18n.reload |vZ\tQ  
      Whether the localization messages should automatically be reloaded &?@gUk74"  
      是否国际化信息自动加载 Uf`lGGM  
.Z!!x  
struts.locale ERW>G {+  
      The default locale for the Struts application PC| U]  
      默认的国际化地区信息 J {gqm  
U#O 6l-xe]  
struts.mapper.class _u`NIpXSP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?/_8zpW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ? [?{X~uq  
D<rO:Er?*a  
struts.multipart.maxSize ~h~K"GbC?  
      The maximize size of a multipart request (file upload) x9#>0 4s  
      multipart请求信息的最大尺寸(文件上传用) AQ!FJ(X(  
1@nGD<,.  
struts.multipart.parser qzVmsxBNP  
      The org.apache.struts2.dispatcher.multipart. y@;4F n/  
      MultiPartRequest parser implementation for a multipart request (file upload) ^N!l$&=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xg}RpC!  
6?/$K{AI  
}mjJglK!N  
struts.multipart.saveDir aW8Bx\q  
      The directory to use for storing uploaded files 3U&Qo nCV  
      设置存储上传文件的目录夹 ^@ GE1  
3z[yKua\  
struts.objectFactory 1n! Jfs U  
      The com.opensymphony.xwork2.ObjectFactory implementation class t6;Ln().Hw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) # E'g{.N  
Jy'ge4]3  
struts.objectFactory.spring.autoWire {4Q4aL(  
      Whether Spring should autoWire or not Gd)@PWK  
      是否自动绑定Spring XelY?Ph,,  
P-L<D!25  
struts.objectFactory.spring.useClassCache MOJ-q3H^W  
      Whether Spring should use its class cache or not ex8mA6g  
      是否spring应该使用自身的cache kb?QQ\e  
k--.g(T  
struts.objectTypeDeterminer b|T}mn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "t+VF 4r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H&6 5X  
cLH|;  
struts.serve.static.browserCache 9YMUvd,u  
If static content served by the Struts filter should set browser caching header properties or not --0z"`@{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]Au78Yom  
&oevgG  
struts.serve.static NYD#I{h  
      Whether the Struts filter should serve static content or not guv)[:cd;  
      是否struts过滤器应该提供静态内容 yzhr"5_  
S%b7NK  
struts.tag.altSyntax \GeUX <Fl  
      Whether to use the alterative syntax for the tags or not M'D;2qo  
      是否可以用替代的语法替代tags od |w)?16  
0-EhDGa]r  
struts.ui.templateDir vBd^=O  
      The directory containing UI templates _;J7#j~}  
      UI templates的目录夹 -IJt( X|  
qFmvc  
struts.ui.theme u>H^bCXI  
      The default UI template theme \LRno3  
      默认的UI template主题 L<Q1acoZm  
#rzq9}9tB  
struts.url.http.port p^+k:E>U  
      The HTTP port used by Struts URLs no+{9Uf  
      设置http端口 FsZF>vaV  
5aw#!K=J'  
struts.url.https.port 6}2vn5 E//  
      The HTTPS port used by Struts URLs 3a9Oj'd1M  
      设置https端口 ~=P&wBnJ  
5<Cu-X  
struts.url.includeParams $lci{D32,  
      The default includeParams method to generate Struts URLs [i.2lt#]  
      在url中产生 默认的includeParams -yOrNir}W  
Z~$=V:EA?  
|UM':Ec  
struts.velocity.configfile InMeD[*^  
      The Velocity configuration file path \uQB%yMoz  
      velocity配置文件路径 qev1bBW  
MuYr?1<q  
struts.velocity.contexts R>[2}R30  
      List of Velocity context names T30!'F(*,  
      velocity的context列表 bAt%^pc=y  
YEAiLC+q  
{FraM,w:  
struts.velocity.manager.classname gIep6nq1`|  
      org.apache.struts2.views.velocity.VelocityManager implementation class _;$VH4(BI  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^]^Y~$u  
c[?S}u|['  
struts.velocity.toolboxlocation 2pH2s\r<UJ  
      The location of the Velocity toolbox 25*/]i u  
      velocity工具盒的位置 ;%odN d  
struts.xslt.nocache H:4r6-{  
      Whether or not XSLT templates should not be cached |HI =ykfI  
      是否XSLT模版应该被缓存 E}mnGe  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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