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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <0!/7*;#ZT  
-ZXC^zt  
struts.action.extension x O`#a=  
      The URL extension to use to determine if the request is meant for a Struts action UR;F W`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 R<>ptwy  
}lZfZ?oAz  
struts.configuration k`H#u,&  
      The org.apache.struts2.config.Configuration implementation class _G]f v'  
        org.apache.struts2.config.Configuration接口名 VFLxxFJ  
\OMWE/qMy  
struts.configuration.files 83io@*D  
      A list of configuration files automatically loaded by Struts E:,V{&tLK  
      struts自动加载的一个配置文件列表 fz H$`X'M  
S+LE ASOr  
struts.configuration.xml.reload f=%k9Y*)  
      Whether to reload the XML configuration or not <1~5l ~  
      是否加载xml配置(true,false) ]+RBykr  
9z)p*+r UK  
struts.continuations.package R{zAs?j  
      The package containing actions that use Rife continuations R~nbJx$  
      含有actions的完整连续的package名称 }F'B!8n  
|fYr*8rH  
struts.custom.i18n.resources dq$H^BB+>  
      Location of additional localization properties files to load nZ>8r  
      加载附加的国际化属性文件(不包含.properties后缀) iXl6XwWT%8  
.6I*=qv)NA  
struts.custom.properties {ir8n731p  
      Location of additional configuration properties files to load 'xO5Le(=M  
      加载附加的配置文件的位置 z:C VzK,  
u_+64c_7  
Lyjt$i W%  
struts.devMode /(#;(]  
      Whether Struts is in development mode or not 0"q^`@sZ  
      是否为struts开发模式 $ekJs/I&  
. e' vc  
struts.dispatcher.parametersWorkaround $ f`\TKlN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L8"0o 0-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]F:5-[V#  
~/0 t<^  
struts.enable.DynamicMethodInvocation IBYRuaEB  
      Allows one to disable dynamic method invocation from the URL (7 i@ @  
        允许动态方法调用 vb 2mY  
}%z {tn  
struts.freemarker.manager.classname px!lJtvgo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9|19ia@[\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8*O]  
hq}kAv4B=  
struts.i18n.encoding >0yx!Iao  
      The encoding to use for localization messages p-d2HXo  
      国际化信息内码 CF|c4oY82  
ESdjDg$[u  
struts.i18n.reload .GG6wL<$?  
      Whether the localization messages should automatically be reloaded N5$IVz}  
      是否国际化信息自动加载 .qBL.b_`  
E .2b@  
struts.locale y%* hHnGd  
      The default locale for the Struts application YKF5|;}  
      默认的国际化地区信息 yQ5F'.m9e  
`Mj>t(  
struts.mapper.class 1\G S"4~P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e C\;n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 j*uc$hC"  
`?Wy;5-  
struts.multipart.maxSize 7g'jg7  
      The maximize size of a multipart request (file upload) G&i<&.i  
      multipart请求信息的最大尺寸(文件上传用) B&J;yla6`d  
.L;M-`^  
struts.multipart.parser )HPt(Ck  
      The org.apache.struts2.dispatcher.multipart. rkw^RW^  
      MultiPartRequest parser implementation for a multipart request (file upload) ILsw'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y7[D9ZvZ  
!/pE6)a  
]Puu: IG  
struts.multipart.saveDir E3IB> f  
      The directory to use for storing uploaded files S!*wK-  
      设置存储上传文件的目录夹 yht|0mZV  
')ZM# :G  
struts.objectFactory |etA2"r&  
      The com.opensymphony.xwork2.ObjectFactory implementation class i9KQpWG:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3@'3U?Hin  
yk1.fxik'  
struts.objectFactory.spring.autoWire  \*5`@>_  
      Whether Spring should autoWire or not 1A>>#M=A  
      是否自动绑定Spring Y", :u@R  
$LxfdSa  
struts.objectFactory.spring.useClassCache ;MD6iBD  
      Whether Spring should use its class cache or not GEJEhwO;H  
      是否spring应该使用自身的cache 5i 56J1EC  
QFn .<@  
struts.objectTypeDeterminer 4~;x(e@S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @m*^v\q<u  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J!l/!Z>!cF  
DEmU},<S  
struts.serve.static.browserCache <B,z)c  
If static content served by the Struts filter should set browser caching header properties or not p[kEFE,%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aZK%?c  
ko-:) z  
struts.serve.static NWK+.{s>m  
      Whether the Struts filter should serve static content or not 85$W\d  
      是否struts过滤器应该提供静态内容 ``l7|b jJ  
(_2;}eg  
struts.tag.altSyntax )_$F/ug  
      Whether to use the alterative syntax for the tags or not ) `u)#@x  
      是否可以用替代的语法替代tags u 3&9R)J1  
3vs;ZBM  
struts.ui.templateDir zq(R!a6  
      The directory containing UI templates 'q+CL&D  
      UI templates的目录夹 9NX/OctFa'  
| Vl Q0{  
struts.ui.theme ^pAgo B  
      The default UI template theme i+`N0!8lY  
      默认的UI template主题 } v#Tm  
La$*)qD,  
struts.url.http.port 1trk  
      The HTTP port used by Struts URLs 4g^nhJP$  
      设置http端口 Iu<RwB[#Q  
58T<~u7  
struts.url.https.port MiB"CcU  
      The HTTPS port used by Struts URLs |$Y0VC4a  
      设置https端口 _*(n2'2B  
9d4Agj M  
struts.url.includeParams 0~.OMG:=  
      The default includeParams method to generate Struts URLs x  RV@ _  
      在url中产生 默认的includeParams q-3,p.  
Yv}V =O%  
Gag=GHG  
struts.velocity.configfile OQ,KQ\  
      The Velocity configuration file path $j ZU(<4,  
      velocity配置文件路径 <{ Z$!]i1  
 3+[R !  
struts.velocity.contexts W<W5ih,#  
      List of Velocity context names [N$#&4{Je  
      velocity的context列表 Rd4 z+G  
gO{XD.s  
>P@JiR<@\n  
struts.velocity.manager.classname ^o`;C\  
      org.apache.struts2.views.velocity.VelocityManager implementation class D_n(T ')  
      org.apache.struts2.views.velocity.VelocityManager接口名 v/\in'H~  
X- xN<S q  
struts.velocity.toolboxlocation . fZ*N/  
      The location of the Velocity toolbox AD_aI %7  
      velocity工具盒的位置 v61'fQ1Qg!  
struts.xslt.nocache q6xm#Fd'.  
      Whether or not XSLT templates should not be cached 3_AVJv ;N  
      是否XSLT模版应该被缓存 4tv}5llSG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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