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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 aT Izf qCM  
>AX_"Q~  
struts.action.extension ZCj1Cz]"l<  
      The URL extension to use to determine if the request is meant for a Struts action / 7\q#qIm:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qt {){uE  
iTq&h=(n  
struts.configuration tt2 S.j  
      The org.apache.struts2.config.Configuration implementation class oF>`>  
        org.apache.struts2.config.Configuration接口名 Z81;Y=(  
9/e>%1.  
struts.configuration.files /eH37H  
      A list of configuration files automatically loaded by Struts B E8_.>  
      struts自动加载的一个配置文件列表 4]tg!ks  
wU!-sf;]y  
struts.configuration.xml.reload BXU0f%"8U  
      Whether to reload the XML configuration or not 0+op|bdj  
      是否加载xml配置(true,false) (?8i^T?WP=  
yUJ#LDW  
struts.continuations.package EC8Z. Uu  
      The package containing actions that use Rife continuations 8)?&eE'  
      含有actions的完整连续的package名称 ~mt{j7  
r'#!w3*Cy  
struts.custom.i18n.resources O.X;w<F/V  
      Location of additional localization properties files to load JD0s0>q_  
      加载附加的国际化属性文件(不包含.properties后缀) aV|V C $  
cL*oO@I&_  
struts.custom.properties R/"-r^j  
      Location of additional configuration properties files to load y7:f^4  
      加载附加的配置文件的位置 n.8870.BW  
![ce }  
y[.lfW?)  
struts.devMode 467"pqT  
      Whether Struts is in development mode or not (0Br`%!F  
      是否为struts开发模式 )#M$ov  
Uv>e :U7;  
struts.dispatcher.parametersWorkaround %i3[x.M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %.f%Q?P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X$ \CC18  
mxF+Fp~  
struts.enable.DynamicMethodInvocation J5Zz*'av'  
      Allows one to disable dynamic method invocation from the URL 6M7GPHah  
        允许动态方法调用 0n6eWwY  
b3[[ Ah-  
struts.freemarker.manager.classname [Z2[Iy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n:wAxU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C^,b aCX  
z(Uz<*h8  
struts.i18n.encoding 2;>uP#1]  
      The encoding to use for localization messages =>c0NT  
      国际化信息内码 zLe(#8G  
Z7pX%nj_  
struts.i18n.reload wM N;<  
      Whether the localization messages should automatically be reloaded ^_\m@   
      是否国际化信息自动加载 `lOW7Z}  
VT4 >6u}  
struts.locale 0_ST2I"Ln  
      The default locale for the Struts application k6z ]-XG  
      默认的国际化地区信息 qS! Lt3+  
|-{e!&  
struts.mapper.class Kgi`@`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t^KQv~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 eDP&W$s#  
n=JV*h0  
struts.multipart.maxSize oKGF'y?A>  
      The maximize size of a multipart request (file upload) Ru#pJb(R  
      multipart请求信息的最大尺寸(文件上传用) Ih.)iTs~%  
|pBFmm*  
struts.multipart.parser D :j5/ *  
      The org.apache.struts2.dispatcher.multipart. R'tvF$3=i  
      MultiPartRequest parser implementation for a multipart request (file upload) w=!xTA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Tim/7*vx  
!:5'MI@  
%pOxt<  
struts.multipart.saveDir 0iM'),v[]  
      The directory to use for storing uploaded files 9v;[T%%  
      设置存储上传文件的目录夹 cy!P!t,@  
q:M'|5P  
struts.objectFactory G)NqIur*Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class wAW{{ p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6p&2 A  
(z)#}TC  
struts.objectFactory.spring.autoWire @8m%*pBg  
      Whether Spring should autoWire or not &F#eYEuy  
      是否自动绑定Spring &E0^Jz  
I>l^lv&[+  
struts.objectFactory.spring.useClassCache Lz_.m  
      Whether Spring should use its class cache or not q%q+2P>  
      是否spring应该使用自身的cache .p=J_%K}0x  
0[d*Z  
struts.objectTypeDeterminer X=f%!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XY6Sm{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vs+aUT C\  
lY@2$q9BT  
struts.serve.static.browserCache |ITCw$T  
If static content served by the Struts filter should set browser caching header properties or not Q.jThP`p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -wx~*  
'L7u`  
struts.serve.static =2( 52#pT  
      Whether the Struts filter should serve static content or not q'y< UyT6  
      是否struts过滤器应该提供静态内容 J9tV|0  
A9]& w  
struts.tag.altSyntax _]ZlGq!L  
      Whether to use the alterative syntax for the tags or not j~.tyxOq#  
      是否可以用替代的语法替代tags x%H,ta%  
|BhL.  
struts.ui.templateDir p>J@"?%^  
      The directory containing UI templates l44QB8 9  
      UI templates的目录夹 4HZXv\$  
XABP}|aWK  
struts.ui.theme ADOA&r[  
      The default UI template theme /3hY[#e  
      默认的UI template主题 ?-2s}IJO  
\v=@'  
struts.url.http.port lcEK&AtK  
      The HTTP port used by Struts URLs Yc6.v8a  
      设置http端口 bFL2NH5  
=(\BM')l  
struts.url.https.port M6A0D+08  
      The HTTPS port used by Struts URLs ; }T+ImjA  
      设置https端口 x%ccNP0  
NLx TiyQy  
struts.url.includeParams NhTJB7  
      The default includeParams method to generate Struts URLs c V MRSp  
      在url中产生 默认的includeParams tcl9:2/^]  
nTtEv~a_n  
:EYUBtTj  
struts.velocity.configfile jK[*_V  
      The Velocity configuration file path '`<Fys&:  
      velocity配置文件路径 #1*7eANfr  
4bw4!z9G  
struts.velocity.contexts nJYIkfdA  
      List of Velocity context names * Wp?0CP  
      velocity的context列表 \I}EWI  
(xTGt",_Jo  
{fV$\^c  
struts.velocity.manager.classname `jOk6;Z[  
      org.apache.struts2.views.velocity.VelocityManager implementation class k$f2i,7'  
      org.apache.struts2.views.velocity.VelocityManager接口名 (dyY@={q  
Nr*X1lJ6  
struts.velocity.toolboxlocation w?8\9\ ;?  
      The location of the Velocity toolbox 2v@B7r4}  
      velocity工具盒的位置 ] `q]n  
struts.xslt.nocache =w`uZ;l$Q  
      Whether or not XSLT templates should not be cached w 2U302TZ  
      是否XSLT模版应该被缓存 Gl|n}wo$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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