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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Sb`[+i' `  
ztO)~uL  
struts.action.extension U<j5s\Y,  
      The URL extension to use to determine if the request is meant for a Struts action lCU clD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 & &}_[{fc  
6(8 F4[D  
struts.configuration h[remR# 3\  
      The org.apache.struts2.config.Configuration implementation class PF~@@j  
        org.apache.struts2.config.Configuration接口名 W;OGdAa_  
_EMI%P& s  
struts.configuration.files g Q\.|'%  
      A list of configuration files automatically loaded by Struts $Z G&d  
      struts自动加载的一个配置文件列表 xvTtA61Vp  
o,rF15  
struts.configuration.xml.reload KR?;7*qF  
      Whether to reload the XML configuration or not (K[{X0T  
      是否加载xml配置(true,false) 9<Pg2#*N0  
^N={4'G)  
struts.continuations.package =!\Nh,\eQ  
      The package containing actions that use Rife continuations #p(gB)o:l  
      含有actions的完整连续的package名称 Xw4Eti._D  
eQ>Ur2H8n  
struts.custom.i18n.resources ^)dsi  
      Location of additional localization properties files to load >+%#m'Y&&  
      加载附加的国际化属性文件(不包含.properties后缀) ~wa4kS<>  
5eTA]  
struts.custom.properties 7:UeE~ uB:  
      Location of additional configuration properties files to load d7V/#34  
      加载附加的配置文件的位置 }3*<sxw7<  
-N' (2'  
jW:7PS  
struts.devMode ~}_^$l8#-Q  
      Whether Struts is in development mode or not "^4*,41U  
      是否为struts开发模式 *Dp&;,b  
%p}vX9U')  
struts.dispatcher.parametersWorkaround -gs I:-Xo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o-8{C0>:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) { I{ 0rV  
wiN0|h>,  
struts.enable.DynamicMethodInvocation |ty&}'6C  
      Allows one to disable dynamic method invocation from the URL )U\i7[k>  
        允许动态方法调用 t utk*|S  
e1Db +QBV  
struts.freemarker.manager.classname e4YfJd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @D9O<x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zB%~=@Q^6  
? $B4'wc5  
struts.i18n.encoding 6{+yAsI  
      The encoding to use for localization messages L2VwW  
      国际化信息内码 @)b'3~ D  
ko}& X=  
struts.i18n.reload ( >}1t!1  
      Whether the localization messages should automatically be reloaded \:m~ +o$<-  
      是否国际化信息自动加载 c^W;p2^  
5HbHJ.|r  
struts.locale \m7\}Nbz0/  
      The default locale for the Struts application Wet0qt]  
      默认的国际化地区信息 )?jFz'<r  
?T/4 =  
struts.mapper.class k4s V6f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s\d3u`G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <f7 O3 >  
I=L[ "]  
struts.multipart.maxSize 0ca0-vY  
      The maximize size of a multipart request (file upload) o CCtjr  
      multipart请求信息的最大尺寸(文件上传用) R2)@Q  
C@qWour  
struts.multipart.parser EE'2<"M  
      The org.apache.struts2.dispatcher.multipart. )>ff"| X  
      MultiPartRequest parser implementation for a multipart request (file upload) 0/ QDfA?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g]f<k2  
29:2Xu i  
;<i u*a  
struts.multipart.saveDir |Y"XxM9  
      The directory to use for storing uploaded files RC7F/|w.z  
      设置存储上传文件的目录夹 j([b)k=  
5]i#l3")  
struts.objectFactory !>Nlp,r&~  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'fn}I0Vc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t]&.'n,  
j)@W1I]2#  
struts.objectFactory.spring.autoWire CAc]SxLh  
      Whether Spring should autoWire or not AON |b\?  
      是否自动绑定Spring ~?NCmU=3  
!/}4_s`,  
struts.objectFactory.spring.useClassCache /o4_rzR?  
      Whether Spring should use its class cache or not UA.Tp[u  
      是否spring应该使用自身的cache 0Px Hf*  
JlSqTfA  
struts.objectTypeDeterminer yD<#Q\,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :Ou~?q%X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6@|!m'  
91z=ou  
struts.serve.static.browserCache T]0K4dp+  
If static content served by the Struts filter should set browser caching header properties or not /[6wm1?!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'Ft81e)/  
S:!5 |o|  
struts.serve.static KLe6V+ki*  
      Whether the Struts filter should serve static content or not ~ T}D#}  
      是否struts过滤器应该提供静态内容 7b1 yF,N  
Hl$qmq  
struts.tag.altSyntax TD\TVK3P  
      Whether to use the alterative syntax for the tags or not .EhC\QpP  
      是否可以用替代的语法替代tags f?Ex$gnI  
bAt!S  
struts.ui.templateDir ta&z lZt  
      The directory containing UI templates hEjvtfM9\-  
      UI templates的目录夹 "0!#De  
0faf4LzU!  
struts.ui.theme NL.3qx  
      The default UI template theme ok--Jyhv#  
      默认的UI template主题 ]Z[3 \~?  
rE*yT(:w  
struts.url.http.port E `N`  
      The HTTP port used by Struts URLs ,GWa3.&.d  
      设置http端口 v_5O*F7)  
)-+tN>Bb  
struts.url.https.port ,% yC4  
      The HTTPS port used by Struts URLs +!@xH];  
      设置https端口 h6~xz0,u  
1N),k5I  
struts.url.includeParams T \34<+n1N  
      The default includeParams method to generate Struts URLs d)48m}[:  
      在url中产生 默认的includeParams 70avr)OM  
.NdsKhg b  
e`+  
struts.velocity.configfile 6 w!qZ4$  
      The Velocity configuration file path oi Q3E  
      velocity配置文件路径 i.9}bw 9u@  
';eAaDM  
struts.velocity.contexts SMvlEj^  
      List of Velocity context names T>| +cg  
      velocity的context列表 nILUo2e~  
[GyPwb-  
]@SEOc@ j  
struts.velocity.manager.classname 1q'_J?Xmd  
      org.apache.struts2.views.velocity.VelocityManager implementation class +2E~=xX  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~DLxIe  
r(]Gd`]  
struts.velocity.toolboxlocation -X EK[  
      The location of the Velocity toolbox 34k(:]56|  
      velocity工具盒的位置 :qXREF@h  
struts.xslt.nocache f[zKA{R  
      Whether or not XSLT templates should not be cached ,9|7{j|u  
      是否XSLT模版应该被缓存 v 'L"sgW6I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八