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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ygWo9?  
xuv%mjQ  
struts.action.extension LylB3BM  
      The URL extension to use to determine if the request is meant for a Struts action 2"c $#N  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a~9U{)@F  
hcWkAR  
struts.configuration /F4rbL^:  
      The org.apache.struts2.config.Configuration implementation class iaLsIy#h  
        org.apache.struts2.config.Configuration接口名 & LwR9\sh  
pI,QkDJ0  
struts.configuration.files MU<Y,4/k  
      A list of configuration files automatically loaded by Struts + ( `  
      struts自动加载的一个配置文件列表 GTeFDm; T^  
>ys>Q)  
struts.configuration.xml.reload Siq2Glg_  
      Whether to reload the XML configuration or not B'lWs;  
      是否加载xml配置(true,false) co|jUDu>W  
O3j:Y|N@F  
struts.continuations.package gieTkZ  
      The package containing actions that use Rife continuations &BFW`5N  
      含有actions的完整连续的package名称 m@u!frE,  
B ;9^  
struts.custom.i18n.resources _ohZTT%l  
      Location of additional localization properties files to load ~kD/dXt  
      加载附加的国际化属性文件(不包含.properties后缀) (lTM5qC  
Gvb>M=9  
struts.custom.properties wbyY?tH  
      Location of additional configuration properties files to load R/Mwq#xUb  
      加载附加的配置文件的位置 ?nn`ud?f  
x$[<<@F%  
z+@aQ@75  
struts.devMode &<_*yl p  
      Whether Struts is in development mode or not A{bt Z#k  
      是否为struts开发模式 N)RyRR.x1.  
_rR+u56y-  
struts.dispatcher.parametersWorkaround p&>*bF,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \A6MVMF8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q?nXhUD  
o )G'._  
struts.enable.DynamicMethodInvocation +\fr3@Yc  
      Allows one to disable dynamic method invocation from the URL 9gZMfP  
        允许动态方法调用 ra0:Lg'  
Vl%AN;o  
struts.freemarker.manager.classname 1`^l8V(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rr>QG<i;G  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r`qMif'  
w4Qqo(  
struts.i18n.encoding [2pp)wq  
      The encoding to use for localization messages 6iV jAxR  
      国际化信息内码 @{iws@.  
' Ph  
struts.i18n.reload 5bYU(]  
      Whether the localization messages should automatically be reloaded &=Gz[1 L  
      是否国际化信息自动加载 >XcbNZV  
"o 2p|2c  
struts.locale GpMKOjVm|  
      The default locale for the Struts application o]t6u .L  
      默认的国际化地区信息 HgvgO\`]  
gbsRf&4h  
struts.mapper.class OL4I}^*,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ! @{rk p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1P. W 34  
^VK-[Sz&  
struts.multipart.maxSize Nwr.mtvh  
      The maximize size of a multipart request (file upload) :3^b>(W.  
      multipart请求信息的最大尺寸(文件上传用) 11glFe  
%<lfe<;^t  
struts.multipart.parser (%}T\~`1z#  
      The org.apache.struts2.dispatcher.multipart. 0#pjfc `:  
      MultiPartRequest parser implementation for a multipart request (file upload) kTb.I;S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <W~5;m  
(o~f6pNB,  
M#LQz~E  
struts.multipart.saveDir }S<2({GI  
      The directory to use for storing uploaded files LZch7Xe3  
      设置存储上传文件的目录夹 jJk M:iR  
hb9e6Cc  
struts.objectFactory guz{DBlK  
      The com.opensymphony.xwork2.ObjectFactory implementation class KE1S5Mck>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) PVP,2Yq!  
%C\Q{_AS  
struts.objectFactory.spring.autoWire QZB2yK3]h  
      Whether Spring should autoWire or not 9 yH95uaDF  
      是否自动绑定Spring #~3x^ 4Y  
M lgE-Lm  
struts.objectFactory.spring.useClassCache M>D 3NY[,  
      Whether Spring should use its class cache or not |RDmY!9&  
      是否spring应该使用自身的cache T)&J}^j  
2.u d P  
struts.objectTypeDeterminer a% |[m,FvP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,DK|jf  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;ZHKTOoK  
"D}PbT[V  
struts.serve.static.browserCache a\S"d  
If static content served by the Struts filter should set browser caching header properties or not ]:i :QiYD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i>HipD,TD  
7 Bm 18  
struts.serve.static jCDZ$W89  
      Whether the Struts filter should serve static content or not MH[Zw$  
      是否struts过滤器应该提供静态内容 C9E l {f  
)A:2y +  
struts.tag.altSyntax 5 WSu  
      Whether to use the alterative syntax for the tags or not /ZqBO*]  
      是否可以用替代的语法替代tags zWoPa,  
[_hHZMTH  
struts.ui.templateDir +(0Fab8g  
      The directory containing UI templates 9r-]@6;  
      UI templates的目录夹 TC[_Ip&  
lTJ1]7)  
struts.ui.theme F(>']D9$.  
      The default UI template theme ePdM9%  
      默认的UI template主题 F@Y)yi?z  
W6ZXb_X  
struts.url.http.port [SgWUP*  
      The HTTP port used by Struts URLs jY EB`&  
      设置http端口 DnvJx!#R  
DE|r~TQ  
struts.url.https.port aDFu!PLB{)  
      The HTTPS port used by Struts URLs @P#uH5U  
      设置https端口 %ANo^~8  
.yE!,^j.gB  
struts.url.includeParams AN7WMX  
      The default includeParams method to generate Struts URLs OLJb8kO  
      在url中产生 默认的includeParams $C0Nv Jf  
sUN>uroi !  
>8Wvz.Nq/  
struts.velocity.configfile JYL/p9K[I  
      The Velocity configuration file path n)uvN  
      velocity配置文件路径 jXvGL  
K&0op 4&  
struts.velocity.contexts CXks~b3SD  
      List of Velocity context names IG0$OtG  
      velocity的context列表 :VP4|H#SP  
})!d4EcZf  
G3n* bv  
struts.velocity.manager.classname /AV [g^x2  
      org.apache.struts2.views.velocity.VelocityManager implementation class %[\: 8  
      org.apache.struts2.views.velocity.VelocityManager接口名 jK/2n}q&]  
H1_XEcaM+*  
struts.velocity.toolboxlocation s|rlpd4y  
      The location of the Velocity toolbox (__=*ew  
      velocity工具盒的位置 K]' 84!l  
struts.xslt.nocache p8K4^H  
      Whether or not XSLT templates should not be cached hm3,?FMbq  
      是否XSLT模版应该被缓存 O=LS~&=,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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