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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tStJ2-5*t  
1[px`%DR~  
struts.action.extension ~9bv Wd1D  
      The URL extension to use to determine if the request is meant for a Struts action }9 ?y'6l  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e]Puv)S>{8  
-FaaFw:Z;A  
struts.configuration *cPN\Iu.W  
      The org.apache.struts2.config.Configuration implementation class .}`V I`z*  
        org.apache.struts2.config.Configuration接口名 Wy!uRzbBv  
oLd:3,p}  
struts.configuration.files C,(j$Id  
      A list of configuration files automatically loaded by Struts !;jgzi?z  
      struts自动加载的一个配置文件列表 EFeAr@nj  
N?zV*ngBS  
struts.configuration.xml.reload _=6vW^ s  
      Whether to reload the XML configuration or not z41D^}b  
      是否加载xml配置(true,false) 0+rW;-_(  
>r~|1kQ.  
struts.continuations.package [Zh2DNp  
      The package containing actions that use Rife continuations ps "9;4P  
      含有actions的完整连续的package名称 fH; |Rm  
x!>d 6lgej  
struts.custom.i18n.resources #U:0/4P(  
      Location of additional localization properties files to load |K6nOX!i  
      加载附加的国际化属性文件(不包含.properties后缀) 8pd&3G+  
3eJ\aVI>pE  
struts.custom.properties KoFv0~8Q  
      Location of additional configuration properties files to load M*v^N]>"G  
      加载附加的配置文件的位置 }tu4z+T2  
s *K:IgJ/  
.a5X*M]  
struts.devMode ~R)1nN|  
      Whether Struts is in development mode or not aE}=^%D  
      是否为struts开发模式 w{~" ;[@  
DhHtz.6  
struts.dispatcher.parametersWorkaround w8O hJv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >}mNi:6xq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6<#Slw[  
&:-GI)[o  
struts.enable.DynamicMethodInvocation ]Kof sU_{  
      Allows one to disable dynamic method invocation from the URL aD0Q0C+  
        允许动态方法调用 .x]'eq}  
ixg\[5.Q+  
struts.freemarker.manager.classname HhzkMJR8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xad G\_?t`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u6]gQP">I  
PKl]Geg P  
struts.i18n.encoding uQO(?nCi  
      The encoding to use for localization messages :{x!g6bK@  
      国际化信息内码 $# D n4  
>xk lt"*U,  
struts.i18n.reload 2-QuT"Gkd  
      Whether the localization messages should automatically be reloaded }5QZ6i#  
      是否国际化信息自动加载 tWcizj;?wK  
kx:c*3q.k  
struts.locale NJ.rv  
      The default locale for the Struts application =`rppO  
      默认的国际化地区信息 *sjj"^'=  
`^?}s-H+  
struts.mapper.class B>ms`|q=l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )-MA!\=<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 od;Bb  
9Ilfv  
struts.multipart.maxSize _3s~!2  
      The maximize size of a multipart request (file upload) dl7Riw-J  
      multipart请求信息的最大尺寸(文件上传用) ,w,ENU0~f  
:y4)qF  
struts.multipart.parser )e @01l  
      The org.apache.struts2.dispatcher.multipart. 38Bnf  
      MultiPartRequest parser implementation for a multipart request (file upload) #9URVq,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xgZV0!%  
er&uC4Y]a  
Y{+zg9L*  
struts.multipart.saveDir le "JW/BD  
      The directory to use for storing uploaded files  EGp~Vo-  
      设置存储上传文件的目录夹 Fr1;)WV  
2tm~QL  
struts.objectFactory g(ZeFOn  
      The com.opensymphony.xwork2.ObjectFactory implementation class }S'I DHla  
      com.opensymphony.xwork2.ObjectFactory接口(spring) E geG,/-`  
UchALR^5  
struts.objectFactory.spring.autoWire ]#vvlM>/  
      Whether Spring should autoWire or not w`H.ey  
      是否自动绑定Spring *+_fP|cv  
=;~%L  
struts.objectFactory.spring.useClassCache oO!1  
      Whether Spring should use its class cache or not T4%i`<i  
      是否spring应该使用自身的cache  }qgqb  
S!`4Bl  
struts.objectTypeDeterminer xi Ov$.@q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .0 R/'!e  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TFiuz; *|  
'sT}DX(7M  
struts.serve.static.browserCache >S?C {_g  
If static content served by the Struts filter should set browser caching header properties or not &0;{lS[N:L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 23B^g  
pIU#c&%<9  
struts.serve.static l<0[ K(  
      Whether the Struts filter should serve static content or not /xX,   
      是否struts过滤器应该提供静态内容 v*C+U$_3\1  
SK2J`*  
struts.tag.altSyntax ~pX(w!^  
      Whether to use the alterative syntax for the tags or not }J'5EAp  
      是否可以用替代的语法替代tags 1j${,>4tQ  
u8{@PlS  
struts.ui.templateDir Mip m&5R  
      The directory containing UI templates tk3<sr"IQ  
      UI templates的目录夹 "NX m\`8  
9H !B)  
struts.ui.theme _{2Fx[m%  
      The default UI template theme ,q'gG`M N  
      默认的UI template主题 <{-(\>f!9  
b]tA2~e  
struts.url.http.port R:pBbA7E  
      The HTTP port used by Struts URLs 110>p  
      设置http端口 &kXGWp  
Oo3qiw  
struts.url.https.port "c! oOaA  
      The HTTPS port used by Struts URLs &2<&X( )  
      设置https端口 1 o  
(DEL xE  
struts.url.includeParams c4qp3B_w  
      The default includeParams method to generate Struts URLs R&x7Iq:=D  
      在url中产生 默认的includeParams rH2tC=%  
Up!ZCZ$RC  
ziB]S@U  
struts.velocity.configfile @kCD.  
      The Velocity configuration file path 2EqsfU* I  
      velocity配置文件路径 VFO&)E/-  
H8o%H=I%  
struts.velocity.contexts \KnD"0KW   
      List of Velocity context names QBPvGnb  
      velocity的context列表 Z@c0(ol  
cciAMQhA  
C9z~)aL}7  
struts.velocity.manager.classname vhE}{ED  
      org.apache.struts2.views.velocity.VelocityManager implementation class ==e#CSJq  
      org.apache.struts2.views.velocity.VelocityManager接口名 upEPv .h  
xP5mL3j  
struts.velocity.toolboxlocation Cr V2 V)|G  
      The location of the Velocity toolbox die2<'\4%  
      velocity工具盒的位置 &\6`[# bT  
struts.xslt.nocache wE8a4.  
      Whether or not XSLT templates should not be cached dPyBY ]`  
      是否XSLT模版应该被缓存 }Nd`;d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八