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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ez]tAW  
 qy)_wM  
struts.action.extension 3 >E%e!D%  
      The URL extension to use to determine if the request is meant for a Struts action )^||\G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 r(d':LV  
eW5SFY.  
struts.configuration n Ox4<Wk&  
      The org.apache.struts2.config.Configuration implementation class lif&@o f  
        org.apache.struts2.config.Configuration接口名 toN^0F?Qm  
q9w~A-Oh`1  
struts.configuration.files 2(5ebe[  
      A list of configuration files automatically loaded by Struts rc&%m  
      struts自动加载的一个配置文件列表 su*Pk|6%  
sf&]u;^DY  
struts.configuration.xml.reload .920{G?l5  
      Whether to reload the XML configuration or not *5w{8  
      是否加载xml配置(true,false) uqz]J$  
{*{Ox[Nh{  
struts.continuations.package iq( )8nxi  
      The package containing actions that use Rife continuations U9b?i$  
      含有actions的完整连续的package名称 p<=$&*  
PkI:*\R  
struts.custom.i18n.resources quY:pqG38q  
      Location of additional localization properties files to load \&U>LwZd?  
      加载附加的国际化属性文件(不包含.properties后缀) N F)~W#  
 H"A7Zo  
struts.custom.properties Eke5Nb  
      Location of additional configuration properties files to load >EY3/Go>  
      加载附加的配置文件的位置 jLg9H/w{  
MEB it  
B)d(TP,>  
struts.devMode I`NjqyTW  
      Whether Struts is in development mode or not <&C]s b  
      是否为struts开发模式 )1X#*mCxk  
j?'GZ d"B  
struts.dispatcher.parametersWorkaround `OSN\"\ad  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "AE5 V'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |i++0BU  
t.mVO]dsj  
struts.enable.DynamicMethodInvocation (o`{uj{!  
      Allows one to disable dynamic method invocation from the URL 4?B\O`sy.  
        允许动态方法调用 eJg8,7WC  
3Z1CWzq(  
struts.freemarker.manager.classname Y]&j,j&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .V,@k7U,V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >y"+ -7V)  
eA<0$Gs,h  
struts.i18n.encoding 'inFKy'H  
      The encoding to use for localization messages yqPdl1{Qr=  
      国际化信息内码 `nu''B H  
@;"|@!l|  
struts.i18n.reload .mR8q+I6  
      Whether the localization messages should automatically be reloaded 7 qS""f7  
      是否国际化信息自动加载 jyCXJa-!-  
v?geCe=ng  
struts.locale 5 sX+~Q  
      The default locale for the Struts application wRVUu)  
      默认的国际化地区信息 ?` ?)QE8  
4%4 }5UYN  
struts.mapper.class \.-bZ$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PpzP7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 E 7{U |\  
-qGa]a  
struts.multipart.maxSize ;=MU';o  
      The maximize size of a multipart request (file upload) uLV#SQ=bZN  
      multipart请求信息的最大尺寸(文件上传用) u ,KD4{!  
.6Pw|xu`Pw  
struts.multipart.parser vw9@v`k  
      The org.apache.struts2.dispatcher.multipart. r8RoE`/T  
      MultiPartRequest parser implementation for a multipart request (file upload) LcTP #  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K|[*t~59  
8]9%*2"!  
xA$XT[D  
struts.multipart.saveDir "]} bFO7C  
      The directory to use for storing uploaded files ;{N!Eb`S  
      设置存储上传文件的目录夹 {ttysQ-  
_z|65H  
struts.objectFactory 7fZDs j:  
      The com.opensymphony.xwork2.ObjectFactory implementation class |IzPgC  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1G^`-ri6  
&OH={Au  
struts.objectFactory.spring.autoWire m+]K;}.}R  
      Whether Spring should autoWire or not (5-FVp fb  
      是否自动绑定Spring uxr #QA  
w9EOC$|Y  
struts.objectFactory.spring.useClassCache f*?]+rz  
      Whether Spring should use its class cache or not s Z].8.  
      是否spring应该使用自身的cache (@fHl=! Za  
n-tgX?1'  
struts.objectTypeDeterminer AP 2_MV4W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *nkoPVpC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -lY6|79bF  
nksLWfpG?B  
struts.serve.static.browserCache '-Vt|O_Q  
If static content served by the Struts filter should set browser caching header properties or not <h0?tv]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t.i 8 2Q  
8p 'L#Q.  
struts.serve.static ;U+3w~  
      Whether the Struts filter should serve static content or not iP ->S\  
      是否struts过滤器应该提供静态内容 nAsh:6${  
m[~y@7AK<  
struts.tag.altSyntax KJ)k =mJ  
      Whether to use the alterative syntax for the tags or not 3YOq2pW72G  
      是否可以用替代的语法替代tags kTOzSiq  
(c=6yV@  
struts.ui.templateDir I-]?"Q7Jz  
      The directory containing UI templates 7x|9n  
      UI templates的目录夹 $ r@zs'N  
B9jC?I |`  
struts.ui.theme h+g_rvIG*  
      The default UI template theme \wz6~5R  
      默认的UI template主题 rr],DGg+B]  
ctZ uA+  
struts.url.http.port 61C7.EZZ;  
      The HTTP port used by Struts URLs }HYbS8'  
      设置http端口 PR#exm&  
#wwH m3  
struts.url.https.port {HltvO%8  
      The HTTPS port used by Struts URLs 'CM|@Zz%  
      设置https端口 Q4#m\KK;i9  
;"5&b!=t  
struts.url.includeParams ?jv/TBZX4  
      The default includeParams method to generate Struts URLs &N^9JxN?8  
      在url中产生 默认的includeParams %S960  
uP)'FI  
4yy>jXDG  
struts.velocity.configfile g[' ^L +hd  
      The Velocity configuration file path q$d>(vb q  
      velocity配置文件路径 e:DCej^z  
%HhnSi1K  
struts.velocity.contexts \h/H#j ZJ  
      List of Velocity context names v!~fs)cdE|  
      velocity的context列表 -V77C^()8d  
,aZ[R27rpL  
zZPO&akB"  
struts.velocity.manager.classname KxJ!,F{>H  
      org.apache.struts2.views.velocity.VelocityManager implementation class _aSxc)?  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?=sDM& '  
@Md/Q~>  
struts.velocity.toolboxlocation b|:YIXml  
      The location of the Velocity toolbox `KoV_2|  
      velocity工具盒的位置 0*3R=7_},o  
struts.xslt.nocache  JYI,N  
      Whether or not XSLT templates should not be cached lfow1WRF  
      是否XSLT模版应该被缓存 IVY]EkEG~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八