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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E$'Zd,|f=  
O!D0 hW4  
struts.action.extension S6r$n  
      The URL extension to use to determine if the request is meant for a Struts action =hO0 @w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n~g,qEI;<x  
<QyJJQM  
struts.configuration *c+Kqz-  
      The org.apache.struts2.config.Configuration implementation class F`$V H^%V  
        org.apache.struts2.config.Configuration接口名 2%'iTXF  
Xk_xTzJ  
struts.configuration.files %!G]H   
      A list of configuration files automatically loaded by Struts XJ|CC.]1u  
      struts自动加载的一个配置文件列表 jQp7TdvLE$  
=~i~SG/f  
struts.configuration.xml.reload _^<HlfOK  
      Whether to reload the XML configuration or not pk*cc h#  
      是否加载xml配置(true,false) R)3P"sGuN  
rVx%"_'*-  
struts.continuations.package #mNM5(o  
      The package containing actions that use Rife continuations i%8I (F  
      含有actions的完整连续的package名称 w>:~Ev]  
]e'Ol$3U9=  
struts.custom.i18n.resources "?Eh_Dw  
      Location of additional localization properties files to load s\6kXR  
      加载附加的国际化属性文件(不包含.properties后缀) .&AS-">Z  
~L G).  
struts.custom.properties 8]N  
      Location of additional configuration properties files to load q89#Ftkt  
      加载附加的配置文件的位置 uj_ OWre  
4|Dxyb>pS  
Z)6gh{B08  
struts.devMode s!Xj'H7K  
      Whether Struts is in development mode or not U}55;4^LX  
      是否为struts开发模式 O3JN?25s  
SEn-8ZF  
struts.dispatcher.parametersWorkaround Rl7V~dUY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +)#d+@-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) P~V0<$C  
q^ {Xn-G  
struts.enable.DynamicMethodInvocation pv.0!a/M  
      Allows one to disable dynamic method invocation from the URL =gCv`SFW  
        允许动态方法调用 bY4~\cP.  
3d^zLL  
struts.freemarker.manager.classname sD,[,6(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xD}ha  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )p&FDK#ob=  
;O*y$|+PA  
struts.i18n.encoding NJG-~ w  
      The encoding to use for localization messages A#gmKS<J/7  
      国际化信息内码 E>tlY&0[$  
e~C^*wL  
struts.i18n.reload uP\?y(= "  
      Whether the localization messages should automatically be reloaded }b-"[TDEF  
      是否国际化信息自动加载 N:j"W,8  
$6~D 2K  
struts.locale b]v.jgD  
      The default locale for the Struts application /lKgaq.  
      默认的国际化地区信息 m L#-U)?F  
!@9Vq6  
struts.mapper.class }JXAG/<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N5$L),?\y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?u/Uov@rD  
jg]_'^pVzr  
struts.multipart.maxSize [:x^ffs  
      The maximize size of a multipart request (file upload) )1%l$W  
      multipart请求信息的最大尺寸(文件上传用) >5{Z'UWxh  
[HJ^'/bB'  
struts.multipart.parser >yC1X|d~t  
      The org.apache.struts2.dispatcher.multipart. +$KUy>  
      MultiPartRequest parser implementation for a multipart request (file upload) U[/k=}76  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G3HmLz  
DBuvbq-  
MS,J+'2  
struts.multipart.saveDir @B;2z_Y!l  
      The directory to use for storing uploaded files Bb^CukS:  
      设置存储上传文件的目录夹 6b9 oSY-8  
`+[e]dH  
struts.objectFactory -iu7/4!j  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]de'v  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #<V/lPz+  
WQ/H8rOs  
struts.objectFactory.spring.autoWire {=W TAgP  
      Whether Spring should autoWire or not C zKU;~D=B  
      是否自动绑定Spring 9NTBdo%u  
COe"te  
struts.objectFactory.spring.useClassCache C%ibIcm y  
      Whether Spring should use its class cache or not eRkvNI  
      是否spring应该使用自身的cache -~O7.E(ok  
<]6])f,y\  
struts.objectTypeDeterminer ,E{z+:Es  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RF/I*5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z;6 Tp  
^nu~q+:+#  
struts.serve.static.browserCache \|\ Dc0p}  
If static content served by the Struts filter should set browser caching header properties or not " (c#H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |^K-m42  
0xbx2jlkY  
struts.serve.static L~_3BX  
      Whether the Struts filter should serve static content or not b4GD}kR  
      是否struts过滤器应该提供静态内容 %xtTh]s  
a?bSMt}  
struts.tag.altSyntax 9ALE6  
      Whether to use the alterative syntax for the tags or not $2Y'[Dto\  
      是否可以用替代的语法替代tags ^z #'o  
413,O~^  
struts.ui.templateDir V!#+Ti/w4  
      The directory containing UI templates 3.M<ATe^  
      UI templates的目录夹 :<ye:P1s  
%|L+~=  
struts.ui.theme m6J7)Wp  
      The default UI template theme 7%C6hEP/*W  
      默认的UI template主题 Az.(tJ X"  
5z8CUDt 0  
struts.url.http.port zr~hGhfq  
      The HTTP port used by Struts URLs '_& Xemz  
      设置http端口 .LDK+c  
tbHU(#~  
struts.url.https.port ~1xln?Q  
      The HTTPS port used by Struts URLs Wk$ 7<gkr  
      设置https端口 !Z978Aub3&  
vzl+0"  
struts.url.includeParams ]-d:wEj  
      The default includeParams method to generate Struts URLs DIR_W-z  
      在url中产生 默认的includeParams n82N@z<8]  
8Fy$'Zx'  
8&g|iG  
struts.velocity.configfile tZlz0BY!  
      The Velocity configuration file path *RugVH4  
      velocity配置文件路径 M)td%<_  
'=?IVm #C  
struts.velocity.contexts va \ 5  
      List of Velocity context names x<#Z3Kla  
      velocity的context列表 Q2sX7 cE  
H Myw:?  
?;!d5Xuu  
struts.velocity.manager.classname UELni,$  
      org.apache.struts2.views.velocity.VelocityManager implementation class cI)T@Zg_o+  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?0_Bs4O\  
<}S1ZEZcQ  
struts.velocity.toolboxlocation B{'x2I#,  
      The location of the Velocity toolbox 5y07@x  
      velocity工具盒的位置 g_?:G$1H  
struts.xslt.nocache @+LkGrDP  
      Whether or not XSLT templates should not be cached qMT7g LB'1  
      是否XSLT模版应该被缓存 RD_IGV   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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