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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +{pS2I}d  
tc<ly{ 1c  
struts.action.extension `KUl XS(  
      The URL extension to use to determine if the request is meant for a Struts action 1|/]bffg!c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3zuYN-;  
sAfNu~d  
struts.configuration "YePd * W  
      The org.apache.struts2.config.Configuration implementation class { x/~gp  
        org.apache.struts2.config.Configuration接口名 ;7w4BJcq']  
eg Zb)pP  
struts.configuration.files 4vbtB2  
      A list of configuration files automatically loaded by Struts LP- _i}Kq  
      struts自动加载的一个配置文件列表 /D&7 \3}  
/r@~"R x'  
struts.configuration.xml.reload l#k&&rI5x.  
      Whether to reload the XML configuration or not 4<Q^/-W  
      是否加载xml配置(true,false) Rx%SeM2  
T?V!%AqY:  
struts.continuations.package v[I,N$ :  
      The package containing actions that use Rife continuations AI\|8[kf0  
      含有actions的完整连续的package名称 we;QrS(Hi  
Cqc5jx0)  
struts.custom.i18n.resources >,)tRQS  
      Location of additional localization properties files to load N=@Nn)  
      加载附加的国际化属性文件(不包含.properties后缀) 97SOa.@  
R8![ $mkU  
struts.custom.properties Q/<?v!h{  
      Location of additional configuration properties files to load X|Z2"*;b`  
      加载附加的配置文件的位置 #Qnl,lf  
 {;| >Qn  
t,vj)|:  
struts.devMode S1D=' k]  
      Whether Struts is in development mode or not <9jN4hV  
      是否为struts开发模式 1xzOD@=dI  
n/jZi54gO  
struts.dispatcher.parametersWorkaround 2E*h,Mo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o+I'nFtnI  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sxFkpf_h  
IFfB3{J  
struts.enable.DynamicMethodInvocation U+wfq%Fz  
      Allows one to disable dynamic method invocation from the URL a1yGgT a?D  
        允许动态方法调用 }10ZPaHjl+  
}{( J *T  
struts.freemarker.manager.classname +JrbC/&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %1^E;n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;;? Zd  
.*W_;Fo  
struts.i18n.encoding /Dk`vn2eN  
      The encoding to use for localization messages 1<TB{}b Z  
      国际化信息内码 =!{ E!3>*D  
Qq*Ks 5   
struts.i18n.reload 9E-]S'Z  
      Whether the localization messages should automatically be reloaded r ; pS_PV  
      是否国际化信息自动加载 LOf)D7T  
W5_aS2$  
struts.locale VYC$Q;Z  
      The default locale for the Struts application  %kSpMj|  
      默认的国际化地区信息 ipdGAG  
>y{oC5S  
struts.mapper.class L92vb zP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k1HVvMD<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 dD.;P=AP  
IP=."w  
struts.multipart.maxSize FhVoN}  
      The maximize size of a multipart request (file upload) h<I C d'!  
      multipart请求信息的最大尺寸(文件上传用) U,2H) {l/  
Z.rR)  
struts.multipart.parser (+lCh7.  
      The org.apache.struts2.dispatcher.multipart. n 0rAOkW  
      MultiPartRequest parser implementation for a multipart request (file upload) '&42E[0P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K! I]0!:  
`@)>5gW&p  
9~ JeI/  
struts.multipart.saveDir E/IoYuB  
      The directory to use for storing uploaded files ])3(@.  
      设置存储上传文件的目录夹 czu?]9;^ Z  
4<(U/58a*  
struts.objectFactory `_Fxb@"R  
      The com.opensymphony.xwork2.ObjectFactory implementation class z3l(4WP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u/>+cT6}  
q9iHJ'lMD*  
struts.objectFactory.spring.autoWire MQvk& AX  
      Whether Spring should autoWire or not !5zDnv  
      是否自动绑定Spring F*rsi7#!pG  
-}$mv  
struts.objectFactory.spring.useClassCache 5eJMu=UpR  
      Whether Spring should use its class cache or not 09L"~:rg  
      是否spring应该使用自身的cache $9}jU#Z|hd  
{sb2r%U!+  
struts.objectTypeDeterminer 5vo5t0^o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PRQEk.C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6#za\[  
`y0u(m5  
struts.serve.static.browserCache z8-dntkf  
If static content served by the Struts filter should set browser caching header properties or not 7wB*@a-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }ofx?s}  
L-z9n@=8\  
struts.serve.static Gw1Rp  
      Whether the Struts filter should serve static content or not .bloaeu-  
      是否struts过滤器应该提供静态内容 :Cdqj0O3u  
pb5q2|u`h  
struts.tag.altSyntax S<nf"oy_K  
      Whether to use the alterative syntax for the tags or not UZJ<|[  
      是否可以用替代的语法替代tags +pG[ [}/  
D8*t zu-  
struts.ui.templateDir & @rXt!  
      The directory containing UI templates J_eu(d[9  
      UI templates的目录夹 iPeW;=-2Wk  
[8v>jQ)  
struts.ui.theme )p!.V( ,  
      The default UI template theme =Owr l'@|T  
      默认的UI template主题 v-ZTl4j$  
3GVS-?  
struts.url.http.port yhG%@vSq  
      The HTTP port used by Struts URLs |zCT~#  
      设置http端口 4157!w'\y  
U *K6FWqiB  
struts.url.https.port 6i`Y]\X~#  
      The HTTPS port used by Struts URLs > Sc/E}3  
      设置https端口 -XNawpl`  
UEeq@ot/4  
struts.url.includeParams W:hg*0z-*  
      The default includeParams method to generate Struts URLs XT` 2Z=  
      在url中产生 默认的includeParams M,we9];N  
7,7-E&d  
~`c(7  
struts.velocity.configfile T:=ST3#m  
      The Velocity configuration file path =;A >1g$  
      velocity配置文件路径 qac8zt#2 C  
{v>8Kp7_R  
struts.velocity.contexts GJTakhj3  
      List of Velocity context names `W9~u: F  
      velocity的context列表 J|=0 :G  
5`\"UC7?%  
L"Dos +  
struts.velocity.manager.classname dKJ-{LV  
      org.apache.struts2.views.velocity.VelocityManager implementation class Zgw4[GpL  
      org.apache.struts2.views.velocity.VelocityManager接口名 LTWiCI  
^Gwpx +  
struts.velocity.toolboxlocation [MXyOE  
      The location of the Velocity toolbox 5hj _YqQ7  
      velocity工具盒的位置 VKMgcfbHr/  
struts.xslt.nocache CEh!X=Nn  
      Whether or not XSLT templates should not be cached 7#+>1 "\  
      是否XSLT模版应该被缓存 C'.^2s#e8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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