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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 YA,vT[kX  
Utv#E.VI  
struts.action.extension XoZPz  
      The URL extension to use to determine if the request is meant for a Struts action GiH<6<=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F )|0U~  
P_{jZ}y(  
struts.configuration npD`9ff  
      The org.apache.struts2.config.Configuration implementation class &R7N^*He  
        org.apache.struts2.config.Configuration接口名 F!yr};@^p  
_${//`ia=  
struts.configuration.files S>y(3E]I  
      A list of configuration files automatically loaded by Struts #x^dR-@   
      struts自动加载的一个配置文件列表 Cvk n2T  
vy&< O  
struts.configuration.xml.reload H,I k&{@j  
      Whether to reload the XML configuration or not F[HMX4  
      是否加载xml配置(true,false) yCt,-mz!z  
RD1N@sHDKc  
struts.continuations.package KOqp@K$  
      The package containing actions that use Rife continuations W:z?w2{VI(  
      含有actions的完整连续的package名称 `5$B"p&i  
*RpBKm&^7  
struts.custom.i18n.resources /xseI)y.B  
      Location of additional localization properties files to load wAn}ic".b  
      加载附加的国际化属性文件(不包含.properties后缀) WhU-^`[*  
ZBX,4kxK7  
struts.custom.properties YN<:k Wu  
      Location of additional configuration properties files to load Aqp$JM >  
      加载附加的配置文件的位置 FdZG%N>Z  
0w24lVR.  
'tRaF  
struts.devMode %8N=4vTJ  
      Whether Struts is in development mode or not V/; / &  
      是否为struts开发模式 SA1| 7  
p l.D h  
struts.dispatcher.parametersWorkaround cI g|sn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }% m:^*@$9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gOnVN6  
@j vF[wi;  
struts.enable.DynamicMethodInvocation !~Am1\02  
      Allows one to disable dynamic method invocation from the URL qwz_.=5E6  
        允许动态方法调用 K;fRDE) {  
-N4km5  
struts.freemarker.manager.classname )C0dN>Gb  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bF#1'W&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 IW1+^F9NEw  
?jDdF  
struts.i18n.encoding R,'` A.Kk  
      The encoding to use for localization messages Ry+Ax4#+(y  
      国际化信息内码 Ie14`'  
hrt ]Qn&  
struts.i18n.reload Cc7YjsRW  
      Whether the localization messages should automatically be reloaded JC[G5$E  
      是否国际化信息自动加载 sp VE'"^  
4Em$L]7   
struts.locale +d=cI  
      The default locale for the Struts application |i-d#x8  
      默认的国际化地区信息 '&<T;V%  
! 4ZszQg  
struts.mapper.class k'hJ@ 6eKS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Gx.iZOOH/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9sR?aW^$,/  
mV58&SZT  
struts.multipart.maxSize 9)Jc'd|  
      The maximize size of a multipart request (file upload) HS% P  
      multipart请求信息的最大尺寸(文件上传用) k8~/lE.Wy  
H$j`75#u?-  
struts.multipart.parser lN<,<'&^.  
      The org.apache.struts2.dispatcher.multipart. VXpbmg!{S  
      MultiPartRequest parser implementation for a multipart request (file upload) P%-@AmO^_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fT&>L  
RkW)B^#  
%#^)hX,+Q  
struts.multipart.saveDir Z6Owxqfht  
      The directory to use for storing uploaded files K:i{us`  
      设置存储上传文件的目录夹 b<N962 q$q  
H+VKWGmfG  
struts.objectFactory < mb.F-8  
      The com.opensymphony.xwork2.ObjectFactory implementation class s?j` _ B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +/L "A  
qq)Dh'5*e,  
struts.objectFactory.spring.autoWire j |N8"8"  
      Whether Spring should autoWire or not z g'1T2t  
      是否自动绑定Spring tBZ&h` V  
JDIQpO"Qji  
struts.objectFactory.spring.useClassCache cc"L> XoK  
      Whether Spring should use its class cache or not w,'"2^Cwy  
      是否spring应该使用自身的cache Fa!6*K\  
cnrS.s=  
struts.objectTypeDeterminer `k>h2(@9S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FK8G BkQ!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b)5z'zQu  
-@wnQ?  
struts.serve.static.browserCache 5tIM@,.I/  
If static content served by the Struts filter should set browser caching header properties or not mM&*_#( 6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _B5t)7I  
AxXFzMW  
struts.serve.static 2`-yzm  
      Whether the Struts filter should serve static content or not Xg](V.B6  
      是否struts过滤器应该提供静态内容 RnA>oKc  
j\ dY  
struts.tag.altSyntax ,s?7EHtC  
      Whether to use the alterative syntax for the tags or not LHt{y3l]  
      是否可以用替代的语法替代tags ]Gm $0uS  
~sI$xX!  
struts.ui.templateDir <N Lor55.]  
      The directory containing UI templates #..-!>lY  
      UI templates的目录夹 ]T3dZ`-(  
0S{dnp  
struts.ui.theme J5J$qCJq  
      The default UI template theme }Z|uLXaz  
      默认的UI template主题 xKKR'v:o\  
T%%+v#+  
struts.url.http.port OYWW<N+R2  
      The HTTP port used by Struts URLs _Gpq=(q)  
      设置http端口 4|&7j7<u  
Q}?yj,D D  
struts.url.https.port NbD"O8dL~E  
      The HTTPS port used by Struts URLs 6Q&*V7EO  
      设置https端口 y5XHJUTu  
gZ5E%']sT  
struts.url.includeParams "iCR68e  
      The default includeParams method to generate Struts URLs 0]F'k8yLN  
      在url中产生 默认的includeParams C3H q&TVf/  
QFI8|i@  
,C#Mf@b  
struts.velocity.configfile ?:Y0#Btj  
      The Velocity configuration file path 3lyk/',  
      velocity配置文件路径 N}Ol`@@#h  
JY\8^}'9  
struts.velocity.contexts P(_wT:8C?  
      List of Velocity context names q/o|uAq  
      velocity的context列表 GP %83T  
nt/+?Sj  
f PoC yl  
struts.velocity.manager.classname 0/8rYBV  
      org.apache.struts2.views.velocity.VelocityManager implementation class =sqh PS<>  
      org.apache.struts2.views.velocity.VelocityManager接口名 iK*2 Z$`lw  
v;E7UL .w  
struts.velocity.toolboxlocation )C @W_cfMN  
      The location of the Velocity toolbox ^lqcF.  
      velocity工具盒的位置 }`oe<|  
struts.xslt.nocache [TZlvX(E  
      Whether or not XSLT templates should not be cached y\'t{>U/  
      是否XSLT模版应该被缓存 UF[2Rb8?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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