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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zq5~M bldh  
#Jr4LQ@A9  
struts.action.extension QV4FA&f&  
      The URL extension to use to determine if the request is meant for a Struts action wzBw5n f\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 py'xB i6}v  
'E\4/0 !  
struts.configuration su3Wk,MLP  
      The org.apache.struts2.config.Configuration implementation class xJA{Hws  
        org.apache.struts2.config.Configuration接口名 ,,BWWFg~  
w6pXF5ur>  
struts.configuration.files ff~1>=^  
      A list of configuration files automatically loaded by Struts ~qK/w0=j  
      struts自动加载的一个配置文件列表 K_!:oe7%  
}<*KM)%  
struts.configuration.xml.reload $ +$l?2  
      Whether to reload the XML configuration or not p+d O w #  
      是否加载xml配置(true,false) (%"9LYv  
p./0N.  
struts.continuations.package aK 7 }}  
      The package containing actions that use Rife continuations !%.=35NS@E  
      含有actions的完整连续的package名称 i6g=fx6j*  
v-/vj/4>  
struts.custom.i18n.resources $dA]GWW5A  
      Location of additional localization properties files to load ]b:>7_la  
      加载附加的国际化属性文件(不包含.properties后缀) {w7/M]m-  
ExeZj8U  
struts.custom.properties E=`/}2  
      Location of additional configuration properties files to load c5: X$k\  
      加载附加的配置文件的位置 Z[eWey_  
2( m#WK7>F  
sz%_9;`dpL  
struts.devMode mkl^2V13~  
      Whether Struts is in development mode or not 1I)oT-~  
      是否为struts开发模式 C2\zbC[qm  
A~ _2"  
struts.dispatcher.parametersWorkaround *N"CV={No  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n=|% H'U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C7DwA/$D  
.8T0OQ4  
struts.enable.DynamicMethodInvocation ]'-y-kqY  
      Allows one to disable dynamic method invocation from the URL n7yp6 Db  
        允许动态方法调用 -:OJX#j  
FZLx.3k4  
struts.freemarker.manager.classname c] t@3m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h_SkX@"/-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 II!~"-WH  
[^^Pl:+  
struts.i18n.encoding vu#ZLq  
      The encoding to use for localization messages +w"?q'SnF  
      国际化信息内码 oYt 34@{?  
C\B4Uu6q  
struts.i18n.reload 1vtC4`  
      Whether the localization messages should automatically be reloaded 8m=O408Q  
      是否国际化信息自动加载 OmS8cSYGc  
ncUS8z  
struts.locale GR4DxlX  
      The default locale for the Struts application ZY@ntV?  
      默认的国际化地区信息 ;47z.i&T  
sx}S,aIU  
struts.mapper.class !&NrbiuN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `uH7~ r^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 euVj,m  
-3guuT3x\  
struts.multipart.maxSize iq[IZdza  
      The maximize size of a multipart request (file upload) xc\zRsY`  
      multipart请求信息的最大尺寸(文件上传用) d325Cw?  
vm'ZA7f6  
struts.multipart.parser CPMGsW^  
      The org.apache.struts2.dispatcher.multipart. RBBmGZ  
      MultiPartRequest parser implementation for a multipart request (file upload) >k/cm3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U4<c![Pp.  
>?rMMR+A  
F=e-jKogK  
struts.multipart.saveDir v+8Ybq  
      The directory to use for storing uploaded files K1Uq` TJ  
      设置存储上传文件的目录夹 z^z`{B  
/,UnT(/k(  
struts.objectFactory P.QF9%  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~QDM .5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C+[)^ 2M{  
MU(I#Prpe  
struts.objectFactory.spring.autoWire -;J6S  
      Whether Spring should autoWire or not #sDb611}#  
      是否自动绑定Spring qmt9J?$k  
v(!:HK0oeT  
struts.objectFactory.spring.useClassCache YRFz ]  
      Whether Spring should use its class cache or not ^$sq U  
      是否spring应该使用自身的cache A.dbb'^  
%OHZOs  
struts.objectTypeDeterminer %.?V\l  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E)ZL+(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /jGV[_Q=P  
>#k- ~|w  
struts.serve.static.browserCache ^YropzHZ4E  
If static content served by the Struts filter should set browser caching header properties or not &i.sSqSI5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7GWOJ^)  
7CvBE;i  
struts.serve.static [/%N2mj  
      Whether the Struts filter should serve static content or not e}S+1G6r)  
      是否struts过滤器应该提供静态内容 f'H|K+bO  
>]z^.U7=  
struts.tag.altSyntax Z6A-i@  
      Whether to use the alterative syntax for the tags or not /XEW]/4  
      是否可以用替代的语法替代tags JXYZ5&[  
> pP&/  
struts.ui.templateDir GNe^ ~  
      The directory containing UI templates Y)+q[MZ R  
      UI templates的目录夹 +yHz7^6-5  
c38XM]Jeq  
struts.ui.theme 4=MjyH|[Jx  
      The default UI template theme CgrQ" N5  
      默认的UI template主题 H(rD*R[  
XNv2xuOcJ  
struts.url.http.port ^W,5A;*3  
      The HTTP port used by Struts URLs (6Z^0GL  
      设置http端口 x|(pmqIH+  
\ "$$c  
struts.url.https.port 5<R m{  
      The HTTPS port used by Struts URLs vIbM@Y4 '?  
      设置https端口 IhYR4?e  
2R.L LE  
struts.url.includeParams oSC'b%  
      The default includeParams method to generate Struts URLs 7K:V<vX5  
      在url中产生 默认的includeParams mpMAhm:  
%kjG[C  
!W9:)5^X  
struts.velocity.configfile `+"(GaZ  
      The Velocity configuration file path y{>f^S<  
      velocity配置文件路径 ?! 6Itkg  
@ 2)nhW/z6  
struts.velocity.contexts %dFJ'[jDL  
      List of Velocity context names Qop,~yK  
      velocity的context列表 ABX%oZ7[|o  
}|Mwv $`  
*_o(~5w-K  
struts.velocity.manager.classname kzDN(_<1  
      org.apache.struts2.views.velocity.VelocityManager implementation class >m,hna]RZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 |uqI}6h.  
,_I rE  
struts.velocity.toolboxlocation I /MY4?(T  
      The location of the Velocity toolbox bYnq,JRA  
      velocity工具盒的位置 $2?AJ/2r$b  
struts.xslt.nocache 0!_?\)X  
      Whether or not XSLT templates should not be cached #e|o"R;/`  
      是否XSLT模版应该被缓存 2 HEU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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