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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -?Cr&!*B  
;4nY{)bD  
struts.action.extension Q{[@n  
      The URL extension to use to determine if the request is meant for a Struts action wQhNQ(H~\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Cj-s  
U,Z\)+-R  
struts.configuration $}9jv3>)  
      The org.apache.struts2.config.Configuration implementation class |[SHpcq>  
        org.apache.struts2.config.Configuration接口名 s L^+$Mq6  
]o6 ZZK  
struts.configuration.files d?zSwLsl  
      A list of configuration files automatically loaded by Struts 1}(22Q;  
      struts自动加载的一个配置文件列表 TeHJj`rdAU  
O~3 A>j  
struts.configuration.xml.reload O^L]2BVC  
      Whether to reload the XML configuration or not i2=- su  
      是否加载xml配置(true,false) pY31qhoZ.  
d GUP|O  
struts.continuations.package 0AQ azhm  
      The package containing actions that use Rife continuations #])"1fk  
      含有actions的完整连续的package名称 z`{sD]  
`3;EJDEdbi  
struts.custom.i18n.resources _Mw3>GNl  
      Location of additional localization properties files to load D2$ 9$xeR  
      加载附加的国际化属性文件(不包含.properties后缀) UB$}`39@  
L'+bVP{L  
struts.custom.properties ] ZV[}7I.  
      Location of additional configuration properties files to load 6/UOz V,[  
      加载附加的配置文件的位置 `Fd \dn  
GA^hev  
+kL7"  
struts.devMode aI=p_+.h  
      Whether Struts is in development mode or not 'S`l[L:.8  
      是否为struts开发模式 aU!}j'5Q  
^ZwZze:2  
struts.dispatcher.parametersWorkaround ^'`b\$km-0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )|~K&qn`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =7 l uV_5  
Y2`sL,'h  
struts.enable.DynamicMethodInvocation uo"<}>iJ  
      Allows one to disable dynamic method invocation from the URL \Zj%eW!m  
        允许动态方法调用 7^gO>2~  
jPWONz(#  
struts.freemarker.manager.classname Od!)MQ*,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IWv 9!lW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pN9!  
[\8rh^LFi  
struts.i18n.encoding VGS%U8;  
      The encoding to use for localization messages @6;OF5VsQ  
      国际化信息内码 `<7\Zl  
$$9H1)Ny  
struts.i18n.reload S\GWMB!oF  
      Whether the localization messages should automatically be reloaded 8E%LhA.  
      是否国际化信息自动加载 #(^<qr   
"qmSwdM  
struts.locale *C_A(n5"V  
      The default locale for the Struts application q/s-".%P  
      默认的国际化地区信息 K=gg<E<  
#C9f?fnM  
struts.mapper.class K#R]of~/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dxeiN#(XT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,/f\  
&g :(I  
struts.multipart.maxSize kWr1>})'  
      The maximize size of a multipart request (file upload) h FU8iB`Q  
      multipart请求信息的最大尺寸(文件上传用) }-3 VK%  
Ip t;NlR  
struts.multipart.parser 1eI*.pt  
      The org.apache.struts2.dispatcher.multipart. j.=:S;  
      MultiPartRequest parser implementation for a multipart request (file upload) 9Yt|Wj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '2lV(>"  
H:.~! r  
iw)gNQ%z4  
struts.multipart.saveDir u?,>yf.;s  
      The directory to use for storing uploaded files X!KX4H  
      设置存储上传文件的目录夹 a\P:jgF  
+XWTu!  
struts.objectFactory J!C \R5\  
      The com.opensymphony.xwork2.ObjectFactory implementation class @)pC3Vi^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) KL$.E!d  
>|3Y+X  
struts.objectFactory.spring.autoWire ZF7n]LgSc&  
      Whether Spring should autoWire or not g QBS#NY  
      是否自动绑定Spring T+Yv5l  
x^lc T  
struts.objectFactory.spring.useClassCache )1At/mr  
      Whether Spring should use its class cache or not a6 Vfd&  
      是否spring应该使用自身的cache 9PB%v.t5 y  
9vRLM*9|  
struts.objectTypeDeterminer t0 e6iof^o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  VY6G{f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &M|rRd~*  
/stvNIEa  
struts.serve.static.browserCache 8a6.77c  
If static content served by the Struts filter should set browser caching header properties or not }?2X q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^Mq/Cf_T  
gC$_yd6m L  
struts.serve.static @qNY"c%HV  
      Whether the Struts filter should serve static content or not ag'hHFV  
      是否struts过滤器应该提供静态内容 @`[e1KQ  
&eMd^l}:#  
struts.tag.altSyntax & AK\Pw)  
      Whether to use the alterative syntax for the tags or not ]!ai?z%cK#  
      是否可以用替代的语法替代tags ? dJd7+A  
%bw+>:Tr  
struts.ui.templateDir g4+K"Q /M  
      The directory containing UI templates An_(L*Qz  
      UI templates的目录夹 "](Q2  
wR_mJMk_  
struts.ui.theme 3EYEd39E  
      The default UI template theme z</C)ObL  
      默认的UI template主题 ?NA $<0  
P%R!\i  
struts.url.http.port b%l H=u  
      The HTTP port used by Struts URLs !Q\*a-C  
      设置http端口 vjX,7NY?  
P5my]4|x  
struts.url.https.port "G%S m")  
      The HTTPS port used by Struts URLs %oiF} >  
      设置https端口 oG)T>L[&  
%U{6 `m  
struts.url.includeParams +2MF#{ tS  
      The default includeParams method to generate Struts URLs EMnz;/dMt  
      在url中产生 默认的includeParams dNR /|  
G@P;#l`(D  
h; q&B9  
struts.velocity.configfile %ddH4Q/p  
      The Velocity configuration file path &0kr[Ik.  
      velocity配置文件路径 7c\W&ZEmb-  
J* !_O#  
struts.velocity.contexts GP+=b:C{E  
      List of Velocity context names b'pwRKpx  
      velocity的context列表 ;?u cC@  
pj_W^,*/  
=|J*9z;  
struts.velocity.manager.classname c&PsT4Wh  
      org.apache.struts2.views.velocity.VelocityManager implementation class |ru!C(  
      org.apache.struts2.views.velocity.VelocityManager接口名 +mjwX?yF  
A\?t^T  
struts.velocity.toolboxlocation u^xnOVE  
      The location of the Velocity toolbox UG\2wH_  
      velocity工具盒的位置 k2eKs*WLC  
struts.xslt.nocache 'A|c\sy  
      Whether or not XSLT templates should not be cached  +C\79,r  
      是否XSLT模版应该被缓存 e(wc [bv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五