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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j+>N&.zs  
#F6M<V'  
struts.action.extension X?(R!=a  
      The URL extension to use to determine if the request is meant for a Struts action "I@akM$x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -KZ9TV # R  
;wZplVB7y  
struts.configuration :b!&Xw$  
      The org.apache.struts2.config.Configuration implementation class 9%m^^OOf  
        org.apache.struts2.config.Configuration接口名 :'[ha$  
st>%U9  
struts.configuration.files \tP*Pz  
      A list of configuration files automatically loaded by Struts NceK>:: 56  
      struts自动加载的一个配置文件列表 n]>L"D,  
|3hNTH?  
struts.configuration.xml.reload Ix~rBD9  
      Whether to reload the XML configuration or not Ds{DVdqA$c  
      是否加载xml配置(true,false) LCe6](Z  
57_AJT hR  
struts.continuations.package 2tQ?=V(Di  
      The package containing actions that use Rife continuations _{GD\Ai_W  
      含有actions的完整连续的package名称 8v=t-GJW  
E 0@u|  
struts.custom.i18n.resources ]Y$jc  
      Location of additional localization properties files to load hZ')<@hNP  
      加载附加的国际化属性文件(不包含.properties后缀) :4LWm<P  
l7Wdbx5x0  
struts.custom.properties 1KjzKFnb  
      Location of additional configuration properties files to load Q@"!uB.e  
      加载附加的配置文件的位置 zQ(`pld  
!wZIXpeL  
u)%/df qzZ  
struts.devMode L D%SLJ:  
      Whether Struts is in development mode or not 7&(h_}Z  
      是否为struts开发模式 tqL2' (=  
6H;\Jt  
struts.dispatcher.parametersWorkaround }*vE/W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +,)Iv_Xl$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JZJb&q){  
BHU=TK@GR  
struts.enable.DynamicMethodInvocation };f^*KZ=0  
      Allows one to disable dynamic method invocation from the URL Kp!A ay  
        允许动态方法调用 ]H<}6}Gd  
V|/N-3M  
struts.freemarker.manager.classname ?.c:k;j  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6w_TL< S  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |;"(C# B  
?uW} XAi  
struts.i18n.encoding ~b%dBn]n>  
      The encoding to use for localization messages Oe;1f#` 5  
      国际化信息内码 Fz5eCe\B  
7dOpJjv?)  
struts.i18n.reload g\*2w @  
      Whether the localization messages should automatically be reloaded P~PM$e  
      是否国际化信息自动加载 f9O_M1=|lo  
bP%X^q~]A  
struts.locale E#cu}zi  
      The default locale for the Struts application b{ tp qNm~  
      默认的国际化地区信息 t7*F,  
}{[JS=A^  
struts.mapper.class Yqv!ZJ6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FS*J8)  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 " ^!=e72  
F3x*dq2  
struts.multipart.maxSize UgOhx- 8  
      The maximize size of a multipart request (file upload) ziv+*Qn_b4  
      multipart请求信息的最大尺寸(文件上传用) ?ea5k*#a  
Gsz$H_  
struts.multipart.parser ]}.|b6\  
      The org.apache.struts2.dispatcher.multipart. V|<'o<h8  
      MultiPartRequest parser implementation for a multipart request (file upload) g``S SU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q,};O$h  
4Vd[cRh2  
$- Y8@bw  
struts.multipart.saveDir XG5"u  
      The directory to use for storing uploaded files }}Gkipp  
      设置存储上传文件的目录夹 \vuWypo  
.s|5AC[  
struts.objectFactory q77Iq0VR  
      The com.opensymphony.xwork2.ObjectFactory implementation class q3|SZoN  
      com.opensymphony.xwork2.ObjectFactory接口(spring) BG6Lky/omz  
xFA`sAucr  
struts.objectFactory.spring.autoWire !yz3:Yzu  
      Whether Spring should autoWire or not IU"8.(;o  
      是否自动绑定Spring ; NO#/  
Wxi;Tq9C@_  
struts.objectFactory.spring.useClassCache {#&D=7LP  
      Whether Spring should use its class cache or not JtF)jRB0,  
      是否spring应该使用自身的cache { 3 "jn  
i;:}{G<  
struts.objectTypeDeterminer &7Xsn^opku  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~N )(|N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $-(lp0\*  
_6L'}X$)N  
struts.serve.static.browserCache YI]/gWeu  
If static content served by the Struts filter should set browser caching header properties or not %2beoH'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;x/. 8fA  
9MbF:  
struts.serve.static fS%B/h=  
      Whether the Struts filter should serve static content or not "Q{7X[$$^  
      是否struts过滤器应该提供静态内容 u=0161g  
U?Vik  
struts.tag.altSyntax ]UZP dw1D  
      Whether to use the alterative syntax for the tags or not ghk"XJ|  
      是否可以用替代的语法替代tags "i!W(}x+  
C\ 34R  
struts.ui.templateDir 6HH:K0j3'  
      The directory containing UI templates +u lxCm_lV  
      UI templates的目录夹 %iZ~RTY6 !  
qr~zTBT] E  
struts.ui.theme R0F&!y!B  
      The default UI template theme *~.'lE%[U  
      默认的UI template主题 ~ x J#NC+  
Xod/GY G  
struts.url.http.port Q{ { =  
      The HTTP port used by Struts URLs A^4#6],%v  
      设置http端口 #.LI `nYA  
Ol;"}3*Z*  
struts.url.https.port X& XD2o"rt  
      The HTTPS port used by Struts URLs Q{~;4+ZD  
      设置https端口 gU?M/i2  
-y/Y%]%0  
struts.url.includeParams T6\d]  
      The default includeParams method to generate Struts URLs w~n+hhMF  
      在url中产生 默认的includeParams p#>,{  
V! .I>  
H<q z rO  
struts.velocity.configfile Q=epUHFs  
      The Velocity configuration file path eXkpU7w;  
      velocity配置文件路径 |WgFLF~k  
&7eN EA  
struts.velocity.contexts 6?/f $,v  
      List of Velocity context names =$_kkVQ$  
      velocity的context列表 p;mV?B?oAQ  
BNixp[Hc  
xzf/W+.>.  
struts.velocity.manager.classname ~e5E%bXxC  
      org.apache.struts2.views.velocity.VelocityManager implementation class w=~X6[+3  
      org.apache.struts2.views.velocity.VelocityManager接口名 /5Yl, P  
2TQ<XHA\  
struts.velocity.toolboxlocation S4!B;,?AxN  
      The location of the Velocity toolbox }3-`e3  
      velocity工具盒的位置 WHRBYq_  
struts.xslt.nocache 02^Nf7DMR  
      Whether or not XSLT templates should not be cached ;r XZ?"  
      是否XSLT模版应该被缓存 uzS;&-nA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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