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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mzL[/B#>M  
tXF]t   
struts.action.extension L{ gE'jCC  
      The URL extension to use to determine if the request is meant for a Struts action ,xJrXPW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rl:KJ\*D  
g1DmV,W-Q  
struts.configuration T+"f]v  
      The org.apache.struts2.config.Configuration implementation class 8F;>5i  
        org.apache.struts2.config.Configuration接口名 1;u4X`8  
K0+ ;b u  
struts.configuration.files yI:# |w|  
      A list of configuration files automatically loaded by Struts Q/_[--0&#  
      struts自动加载的一个配置文件列表 dAx96Og:X"  
pw>m.=9|y  
struts.configuration.xml.reload >L((2wfiN  
      Whether to reload the XML configuration or not cu#e38M&eE  
      是否加载xml配置(true,false) bC@k>yC-  
vnX  
struts.continuations.package ~4.r^)\  
      The package containing actions that use Rife continuations gLj?Ys  
      含有actions的完整连续的package名称 .M|>u_<Qd  
f<[jwhCWV  
struts.custom.i18n.resources i~=s^8n`l  
      Location of additional localization properties files to load l52a\/  
      加载附加的国际化属性文件(不包含.properties后缀) c yQ(fIYl  
!J>A,D"-  
struts.custom.properties 'TN)Lb*  
      Location of additional configuration properties files to load }|8*sk#[  
      加载附加的配置文件的位置 2x$x; \*j  
DrS~lTf=>  
? s} %  
struts.devMode t> Q{yw  
      Whether Struts is in development mode or not x49!{}  
      是否为struts开发模式 J$uM 03  
~HLRfL?  
struts.dispatcher.parametersWorkaround _rQUE ^9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #,f{Ok+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XL< )v_  
H;_yRUY9  
struts.enable.DynamicMethodInvocation -@%%*YI>  
      Allows one to disable dynamic method invocation from the URL @ "d2.h  
        允许动态方法调用 `LP!D  
H^c0Kh+  
struts.freemarker.manager.classname $&-5;4R'0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (;o*eFC F  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ft5DU/%  
f|0lj   
struts.i18n.encoding I{.HO<$7D}  
      The encoding to use for localization messages Uf,fX/:!  
      国际化信息内码 J2Et-Cz1  
,j;PRJ  
struts.i18n.reload k M*T$JqN  
      Whether the localization messages should automatically be reloaded =v2%Vs\7k  
      是否国际化信息自动加载 +Tak de%~  
]Bu DaxWN  
struts.locale c cG['7  
      The default locale for the Struts application f>iuHR*EXB  
      默认的国际化地区信息 w[fDk1H)  
:uCdq`SaQl  
struts.mapper.class P@ypk^v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tbj=~xYf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  .Oo/y0E^  
i*tv,f.(  
struts.multipart.maxSize XDmbm*~i  
      The maximize size of a multipart request (file upload) P[gO85  
      multipart请求信息的最大尺寸(文件上传用) v+q<BYq  
o\4t4}z~'f  
struts.multipart.parser bAhZ7;T~  
      The org.apache.struts2.dispatcher.multipart. HFh /$VM  
      MultiPartRequest parser implementation for a multipart request (file upload) l)}t,!M6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  b;vNq  
/5a;_  
tjzA)/T,4  
struts.multipart.saveDir }OKL z.5  
      The directory to use for storing uploaded files hTS|_5b  
      设置存储上传文件的目录夹 ]mkJw3  
r#h {$iW  
struts.objectFactory >[K?fJ$+  
      The com.opensymphony.xwork2.ObjectFactory implementation class =:K@zlO:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .P/xs4  
Lo3-X  
struts.objectFactory.spring.autoWire qe?Ggz3p.  
      Whether Spring should autoWire or not mUwUs~PjA  
      是否自动绑定Spring J%P)%yX  
S=9E@(]  
struts.objectFactory.spring.useClassCache b~w KF0vq  
      Whether Spring should use its class cache or not 'C]jwxy  
      是否spring应该使用自身的cache ?MZ:_'2p  
"\T"VS^pd  
struts.objectTypeDeterminer gRvJ.Q{h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "@t-Cy:!O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $[e%&h@JR  
N du7nKG  
struts.serve.static.browserCache [\HQPo'S  
If static content served by the Struts filter should set browser caching header properties or not )+GX<2_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,VG9)K 1K  
zzJ^x8#R  
struts.serve.static Y?!/>q  
      Whether the Struts filter should serve static content or not $%}>zqD1  
      是否struts过滤器应该提供静态内容 mTd<2Hy  
 # eEvF  
struts.tag.altSyntax g~R/3cm4  
      Whether to use the alterative syntax for the tags or not 22bT3  
      是否可以用替代的语法替代tags @a;sV!S{  
Yk7"XP[Y  
struts.ui.templateDir twbcuaCTW  
      The directory containing UI templates cyc>_$/;1  
      UI templates的目录夹 sFx$>:$  
%Rn:G K  
struts.ui.theme  z\$;'  
      The default UI template theme |0w~P s  
      默认的UI template主题 59MR|Jt  
cju@W]!  
struts.url.http.port 32KR--mn%  
      The HTTP port used by Struts URLs 9S"N4c>  
      设置http端口 Gc}0]!nrW9  
1Zq   
struts.url.https.port $~hdm$  
      The HTTPS port used by Struts URLs /,t| !)\]  
      设置https端口 Em9my2oE  
ScHlfk p  
struts.url.includeParams rgT%XhUS6f  
      The default includeParams method to generate Struts URLs /'`6 ; uRN  
      在url中产生 默认的includeParams 7jR7  
rG5i-'  
Ys+N,:#R  
struts.velocity.configfile ;qG1r@o  
      The Velocity configuration file path V<W02\Hs  
      velocity配置文件路径 [J:zE&aj  
ahoh9iJ  
struts.velocity.contexts cUV TRWV  
      List of Velocity context names }wG|%Y#+r  
      velocity的context列表 'Aet{A=9  
,*w>z  
,E]|\_]  
struts.velocity.manager.classname FLEg0/m0  
      org.apache.struts2.views.velocity.VelocityManager implementation class m`a>,%}P"  
      org.apache.struts2.views.velocity.VelocityManager接口名 j,ZW[*M  
"?+UI   
struts.velocity.toolboxlocation lYdQB[l  
      The location of the Velocity toolbox jqqaw  
      velocity工具盒的位置 jQ^Yj"6  
struts.xslt.nocache {Ot[WF  
      Whether or not XSLT templates should not be cached KMe.i'  
      是否XSLT模版应该被缓存 5 2fO)!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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