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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Pdh`Gu1:3  
39[ylR|\  
struts.action.extension /EHO(d!<  
      The URL extension to use to determine if the request is meant for a Struts action fwx^?/5j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %#EzZD  
LH`$<p2''r  
struts.configuration q$H@W. f  
      The org.apache.struts2.config.Configuration implementation class 2ZbSdaM=  
        org.apache.struts2.config.Configuration接口名 1f"}]MbLR  
[".94(qs  
struts.configuration.files 5Uhxl^c  
      A list of configuration files automatically loaded by Struts 8.%wnH  
      struts自动加载的一个配置文件列表 ME)='~E  
W! |_ hL  
struts.configuration.xml.reload fMHw=wJQ  
      Whether to reload the XML configuration or not HdY#cVxy  
      是否加载xml配置(true,false) WcXNc`x  
,\\=f#c=  
struts.continuations.package < )_#6)z:  
      The package containing actions that use Rife continuations %PPy0RZ^  
      含有actions的完整连续的package名称 ncVt (!c,e  
,'<NyA><  
struts.custom.i18n.resources U0|bKU  
      Location of additional localization properties files to load #PC*l\ )  
      加载附加的国际化属性文件(不包含.properties后缀) ())_4 <  
!Dc;R+Ir0!  
struts.custom.properties I"8Z'<|/\q  
      Location of additional configuration properties files to load ~rq:I<5  
      加载附加的配置文件的位置 Xmb##:  
Jp8,s%  
I@Y k &aU  
struts.devMode B"88 .U}$  
      Whether Struts is in development mode or not iYdg1  
      是否为struts开发模式 ;$]a.9 -  
Hit )mwfYE  
struts.dispatcher.parametersWorkaround z#n+iC$9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic SEu:31k{o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  SN}3  
Xrc{w Dn  
struts.enable.DynamicMethodInvocation -nD} k  
      Allows one to disable dynamic method invocation from the URL FyXO @yF  
        允许动态方法调用 0>;[EFL  
T gLr4Ex  
struts.freemarker.manager.classname ?!c7Zx,(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MCXt,`}[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q+;lxR5D  
tmeg=U7  
struts.i18n.encoding 3fE0cVG*  
      The encoding to use for localization messages XCgC^c'  
      国际化信息内码 JHg;2xm"<K  
8A*tpMV?J  
struts.i18n.reload i$:yq.DW  
      Whether the localization messages should automatically be reloaded fI.X5c>WK  
      是否国际化信息自动加载 a>ye  
|1<B(iB'{/  
struts.locale >h9~ /  
      The default locale for the Struts application ljg6uz1v %  
      默认的国际化地区信息 `USze0"t0:  
Q2m 5&yy@s  
struts.mapper.class .G<Or`K^i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l;h -`( 11  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \f]w'qiW5  
nkN2Bqt$  
struts.multipart.maxSize C(KV5c  
      The maximize size of a multipart request (file upload) D51O/.:U2  
      multipart请求信息的最大尺寸(文件上传用) x6\^dVR}  
gA 5DEit  
struts.multipart.parser |llmq'Q  
      The org.apache.struts2.dispatcher.multipart. 8H3O6ro  
      MultiPartRequest parser implementation for a multipart request (file upload) ePSD#kY5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h9nh9a(2  
Sl \EPKZD  
FELW?Q?k  
struts.multipart.saveDir ,&@FToR  
      The directory to use for storing uploaded files h,/3 }  
      设置存储上传文件的目录夹 a94 nB  
Jcp=<z*0  
struts.objectFactory 20A:,pMb  
      The com.opensymphony.xwork2.ObjectFactory implementation class S4E@wLi  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (f* r  
Vrp]YR L`  
struts.objectFactory.spring.autoWire 7 lq$PsC  
      Whether Spring should autoWire or not J|z' <W  
      是否自动绑定Spring x;4m@)Mu  
%yR 80mn8  
struts.objectFactory.spring.useClassCache YR)^F|G  
      Whether Spring should use its class cache or not -H 5-6w$  
      是否spring应该使用自身的cache #TgP:t]p  
+\vN#xDz  
struts.objectTypeDeterminer cvpZF5mL]U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sx_j`Cgy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n@oSLo`k,`  
 |>Pv2  
struts.serve.static.browserCache %P *b&H^0  
If static content served by the Struts filter should set browser caching header properties or not *@YQr]~ ;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6iEA._y  
{PL,3EBG  
struts.serve.static y}W*P#BDO  
      Whether the Struts filter should serve static content or not  Kc3/*eu;  
      是否struts过滤器应该提供静态内容 Xs2B:`,hh  
k$,y1hH;f8  
struts.tag.altSyntax :mdoGb$ dr  
      Whether to use the alterative syntax for the tags or not V* ,u;*  
      是否可以用替代的语法替代tags b#S-u }1PE  
\qJ^n %  
struts.ui.templateDir &';@CeK  
      The directory containing UI templates s21)*d  
      UI templates的目录夹 2%pe.s tQ  
Y~OyoNu2  
struts.ui.theme 7l'1  
      The default UI template theme ?CpM.{{s  
      默认的UI template主题 d%1 Vby  
`_{,4oi  
struts.url.http.port oTpoh]|[  
      The HTTP port used by Struts URLs !U1V('   
      设置http端口 r6+IJxUd  
i_$?sg#=yk  
struts.url.https.port %1i *Y*wg  
      The HTTPS port used by Struts URLs q(5  
      设置https端口 l-'\E6grdH  
ZgzYXh2  
struts.url.includeParams Ak\"C4s  
      The default includeParams method to generate Struts URLs ZB,UQ~!Yr  
      在url中产生 默认的includeParams <yKyM#4X  
;FjI!V  
{5T:7*J  
struts.velocity.configfile tQ2S*]"f  
      The Velocity configuration file path R1:7]z0B  
      velocity配置文件路径 DEenvS`,P  
>LFj@YW_)  
struts.velocity.contexts t3.I ` Z  
      List of Velocity context names i32S(3se  
      velocity的context列表 * \ tR  
N)YoWA>#bF  
:-b-)*TC;  
struts.velocity.manager.classname ^cojETOv  
      org.apache.struts2.views.velocity.VelocityManager implementation class JaJyH%+$!  
      org.apache.struts2.views.velocity.VelocityManager接口名 &([yI>%  
35SL*zS@-  
struts.velocity.toolboxlocation 'G3|PA7v  
      The location of the Velocity toolbox CDFkH  
      velocity工具盒的位置 p?+;[!:  
struts.xslt.nocache }An;)!>(nF  
      Whether or not XSLT templates should not be cached 0h"uJco,  
      是否XSLT模版应该被缓存 .1""U ']  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八