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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G@6,O-Sj  
<{~UKi  
struts.action.extension >Qu^{o  
      The URL extension to use to determine if the request is meant for a Struts action >LZ)<-Mk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'wHkE/ 83  
{}2p1-(  
struts.configuration k:yu2dQh  
      The org.apache.struts2.config.Configuration implementation class S~`AnX3!  
        org.apache.struts2.config.Configuration接口名 mAERZ<I  
T[II;[EiE  
struts.configuration.files :9< r(22  
      A list of configuration files automatically loaded by Struts <J uJ`t  
      struts自动加载的一个配置文件列表 Tm,L?Jh  
xVo)!83+Q  
struts.configuration.xml.reload 8-#2?=  
      Whether to reload the XML configuration or not 0p2O8>w^%  
      是否加载xml配置(true,false) > %*X2'^  
%HS!^j3C%  
struts.continuations.package {;~iq  
      The package containing actions that use Rife continuations pIjVJ9+j  
      含有actions的完整连续的package名称 jCa;g{#@  
)4C6+63OD&  
struts.custom.i18n.resources ~#Mx&mZ  
      Location of additional localization properties files to load xL"o)]a=  
      加载附加的国际化属性文件(不包含.properties后缀) SuuS!U+i>  
(NlEb'~+  
struts.custom.properties <08V-   
      Location of additional configuration properties files to load Um|Tf]q  
      加载附加的配置文件的位置 CR=MjmH  
2$UR " P  
D'+8]B  
struts.devMode cW%O-  
      Whether Struts is in development mode or not I(S6DkU  
      是否为struts开发模式 Ku'U^=bVm:  
{bEEQCweNJ  
struts.dispatcher.parametersWorkaround QyQ8M1m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k,(_R=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2"^9t1C2  
k"c_x*f  
struts.enable.DynamicMethodInvocation F4{<;4N0  
      Allows one to disable dynamic method invocation from the URL pP& M]'  
        允许动态方法调用 ^a5>`W  
{HDlv[O%  
struts.freemarker.manager.classname z#/*LP#oY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c^k. <EA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -qF|Y f  
 K>eG5tt  
struts.i18n.encoding %q^]./3p  
      The encoding to use for localization messages SsZzYj.d  
      国际化信息内码 [J Xrj{  
1>{(dd?L  
struts.i18n.reload R MXj)~4.  
      Whether the localization messages should automatically be reloaded xb\:H@92  
      是否国际化信息自动加载 EUqG"h5#A{  
z`SkKn0f Y  
struts.locale [t'"4  
      The default locale for the Struts application \:7EKzQ  
      默认的国际化地区信息 //|Vj | =  
P!EX;+7+x  
struts.mapper.class g7-K62bb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^Quy64M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4r&~=up]  
'~ 0&m]N  
struts.multipart.maxSize 89bKnsV  
      The maximize size of a multipart request (file upload) K(2s%  
      multipart请求信息的最大尺寸(文件上传用) 8EA?'~"  
Q!v[b{]8  
struts.multipart.parser tAUMSr|?  
      The org.apache.struts2.dispatcher.multipart. R#M).2::  
      MultiPartRequest parser implementation for a multipart request (file upload) g~b'}^J  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a6_`V;  
(Bz(KyD[  
rg\w!L(  
struts.multipart.saveDir =UY@,*q:c  
      The directory to use for storing uploaded files `0F IJT  
      设置存储上传文件的目录夹 yM@cml6Ox  
1wt]J!hgV  
struts.objectFactory X*Zv,Wm  
      The com.opensymphony.xwork2.ObjectFactory implementation class $)!Z"2T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) r^)<Jy0|r  
=B1!em|  
struts.objectFactory.spring.autoWire ! ZEKvW  
      Whether Spring should autoWire or not }{J8U2])k  
      是否自动绑定Spring |1o]d$3m  
0'uj*Y{L  
struts.objectFactory.spring.useClassCache >B0S5:S$W  
      Whether Spring should use its class cache or not Y|F);XXIl  
      是否spring应该使用自身的cache ZUycJ-[  
<>TBM^  
struts.objectTypeDeterminer Nsq%b?#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class syF/jWM5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n^K]R}S  
ln5On_Wm  
struts.serve.static.browserCache vq}V0- <  
If static content served by the Struts filter should set browser caching header properties or not c1[;a>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {8Ll\j@ "  
/_P`xm+=AC  
struts.serve.static ZfU_4Pl->  
      Whether the Struts filter should serve static content or not P1<;:!8'  
      是否struts过滤器应该提供静态内容 jolCR-FDu  
bHCd|4e,2  
struts.tag.altSyntax >:=TS"}yS}  
      Whether to use the alterative syntax for the tags or not SDkN  
      是否可以用替代的语法替代tags 1K>4 i. X  
l< Y x  
struts.ui.templateDir @cON"(  
      The directory containing UI templates S`::f(e  
      UI templates的目录夹 zv41Yv!x}  
@azS)4L  
struts.ui.theme <FP -]R)  
      The default UI template theme 0pQ>V)  
      默认的UI template主题 7 ?Fl [FW$  
v[x`I;  
struts.url.http.port U+KbvkX wj  
      The HTTP port used by Struts URLs XP'KgTF  
      设置http端口  6?6 u  
k@w&$M{tPF  
struts.url.https.port G 6][@q  
      The HTTPS port used by Struts URLs n}l Z  
      设置https端口 ZrTq)BZ  
Z5\6ca  
struts.url.includeParams ]C!u~A\jq  
      The default includeParams method to generate Struts URLs |k8;[+  
      在url中产生 默认的includeParams ?mV[TM{p  
|A2.W8`o  
vjHbg#0%  
struts.velocity.configfile _7Z$"  
      The Velocity configuration file path t[<=QK  
      velocity配置文件路径 oR+Fn}mG  
txi m|)  
struts.velocity.contexts KT3[{lr  
      List of Velocity context names `]%{0 Rx  
      velocity的context列表 @y,p-##e  
'!_o`t@  
9`xq3EL2T  
struts.velocity.manager.classname `p!.K9r7   
      org.apache.struts2.views.velocity.VelocityManager implementation class U9JqZ!  
      org.apache.struts2.views.velocity.VelocityManager接口名 G^+0</Q  
_%t w#cM  
struts.velocity.toolboxlocation -/h$Yb  
      The location of the Velocity toolbox , 7}Ri  
      velocity工具盒的位置 ]Y3ALQr!  
struts.xslt.nocache u", [ulP  
      Whether or not XSLT templates should not be cached KmMt:^9  
      是否XSLT模版应该被缓存 8J)x>6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八