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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cX3lt5  
;;&}5jcV  
struts.action.extension ,@5I:X!rR  
      The URL extension to use to determine if the request is meant for a Struts action =-p$jXVW%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m.,U:>  
37}D9:#5C  
struts.configuration O*#*%RL|  
      The org.apache.struts2.config.Configuration implementation class o6$4/I  
        org.apache.struts2.config.Configuration接口名 sH\5/'?  
o.I6ulY8  
struts.configuration.files l&?ii68/  
      A list of configuration files automatically loaded by Struts )=Jk@yj8x  
      struts自动加载的一个配置文件列表 y( y8+ZT  
'] +Uu'a  
struts.configuration.xml.reload ?IpLf\n-  
      Whether to reload the XML configuration or not (W}bG>!#Q8  
      是否加载xml配置(true,false) >rvQw63\  
Ci rZ+o  
struts.continuations.package 6Cp]NbNrq  
      The package containing actions that use Rife continuations O$cHZs$  
      含有actions的完整连续的package名称 ~K@'+5Pc  
2WG>, 4W2  
struts.custom.i18n.resources y|wc ,n%L>  
      Location of additional localization properties files to load ?,/U^rf^4  
      加载附加的国际化属性文件(不包含.properties后缀) NIw\}[-Z0E  
5xL~`-IA&v  
struts.custom.properties 0Lb4'25.  
      Location of additional configuration properties files to load Jec'`,Y  
      加载附加的配置文件的位置 K #.  
zP<pEI  
<I;2{*QI2  
struts.devMode ZRYEqSm  
      Whether Struts is in development mode or not n'emN Ra  
      是否为struts开发模式 0V?F'<qy  
8g7<KKw  
struts.dispatcher.parametersWorkaround 4!KoFoZt*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =JmT:enV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {p,]oOq\  
NF? vg/{  
struts.enable.DynamicMethodInvocation CD8}I85 K  
      Allows one to disable dynamic method invocation from the URL }}<z/zN&^  
        允许动态方法调用 U,LTVYrO  
%Rsp;1Z  
struts.freemarker.manager.classname Sf8{h|71  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `jOX6_z?I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P~ &$l2  
rXHv`k y  
struts.i18n.encoding [<KM?\"1<  
      The encoding to use for localization messages yDGVrc'  
      国际化信息内码 GAAm0;  
Nv"EV;$  
struts.i18n.reload )RcL/n  
      Whether the localization messages should automatically be reloaded ]~3U  
      是否国际化信息自动加载 N;[>,0&z  
1x,tu}<u^  
struts.locale +sJrllrE(  
      The default locale for the Struts application zen*PeIrA^  
      默认的国际化地区信息 [ Fz`D/  
4!wR_@W^El  
struts.mapper.class MuSUKBhM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &zo|Lfe  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sf r&p>{,  
S.a%  
struts.multipart.maxSize XO'l Nb.  
      The maximize size of a multipart request (file upload) .rf" (lM  
      multipart请求信息的最大尺寸(文件上传用) y8DhOlewQ  
ZIF49`Y4TF  
struts.multipart.parser }[xs~! 2F  
      The org.apache.struts2.dispatcher.multipart. <'g:T(t  
      MultiPartRequest parser implementation for a multipart request (file upload) ? C/Te)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JwXT%op9RP  
`[n(" 7,  
% $DI^yS  
struts.multipart.saveDir =yy5D$\  
      The directory to use for storing uploaded files 9`9R!=NM  
      设置存储上传文件的目录夹 h*<P$t  
wKsT7c'  
struts.objectFactory ki)#d' }  
      The com.opensymphony.xwork2.ObjectFactory implementation class =J~ x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &>Vfa  
&e8s65`  
struts.objectFactory.spring.autoWire t N2Md}@e  
      Whether Spring should autoWire or not !e?.6% %   
      是否自动绑定Spring 7t*"%]o  
ZGd!IghL  
struts.objectFactory.spring.useClassCache p*P)KP  
      Whether Spring should use its class cache or not &/Q0  
      是否spring应该使用自身的cache u#@Q:tnN_  
q?ix$nKOv  
struts.objectTypeDeterminer "V}[':fen  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ny54XjtG,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ct%x&m:  
G2FXrkU  
struts.serve.static.browserCache J^g!++|2P  
If static content served by the Struts filter should set browser caching header properties or not |.3DD"*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S)/_muP  
to$h2#i_  
struts.serve.static a.zpp'cEb  
      Whether the Struts filter should serve static content or not \~_9G{2?  
      是否struts过滤器应该提供静态内容 f@c`8L@g  
~b2wBs)r  
struts.tag.altSyntax ,zTy?OQ  
      Whether to use the alterative syntax for the tags or not nxl[d\ap+n  
      是否可以用替代的语法替代tags VZl6t;cn  
+) m_o"hl  
struts.ui.templateDir Pp5^@A  
      The directory containing UI templates 1&U>,;]*  
      UI templates的目录夹 $-*!pRaVU  
"%x<ttLl  
struts.ui.theme h?azFA~  
      The default UI template theme C;vtY[}<  
      默认的UI template主题 Vkc#7W(  
bv*,#Qm  
struts.url.http.port aVd,xl  
      The HTTP port used by Struts URLs :]1 TGfS  
      设置http端口 2Roc|)-47  
Kp,M"Y  
struts.url.https.port -Zz$~$  
      The HTTPS port used by Struts URLs Xqm::1(-(  
      设置https端口 .>IhN 5  
MHC^8VL  
struts.url.includeParams wg]j+r@  
      The default includeParams method to generate Struts URLs yYH0v7vx+  
      在url中产生 默认的includeParams |x-S&-  
Mwr"~?\\  
.uk>QM s1  
struts.velocity.configfile yT,.z 0  
      The Velocity configuration file path ok4@N @  
      velocity配置文件路径 1{r)L{]  
}7.PH'.8  
struts.velocity.contexts ;y2/-tL?  
      List of Velocity context names [`):s= FC  
      velocity的context列表 jav#f{'  
=Yt R`  
#*(t d<Cp  
struts.velocity.manager.classname 5EebPXBzB  
      org.apache.struts2.views.velocity.VelocityManager implementation class v3jg~"!  
      org.apache.struts2.views.velocity.VelocityManager接口名 =Fr(9 (  
&sL&\+=<(  
struts.velocity.toolboxlocation ?28N ^  
      The location of the Velocity toolbox r|qp3x  
      velocity工具盒的位置 *^wm1|5  
struts.xslt.nocache IDG}ZlG  
      Whether or not XSLT templates should not be cached \9g+^vQg  
      是否XSLT模版应该被缓存 *NClfkZ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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