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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @8yFM%  
`wd*&vl  
struts.action.extension ,>v9 Y#U  
      The URL extension to use to determine if the request is meant for a Struts action ;tiU OixJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZH_4'm!^g|  
',Pk>f]AB-  
struts.configuration % 6.jh#C  
      The org.apache.struts2.config.Configuration implementation class U-<"i6mg ?  
        org.apache.struts2.config.Configuration接口名 !5!$h` g  
olxP`iK  
struts.configuration.files Nn1^#kc  
      A list of configuration files automatically loaded by Struts KBA%  
      struts自动加载的一个配置文件列表 @A'1D@f#  
e/jM+%  
struts.configuration.xml.reload Gi4dgMVei  
      Whether to reload the XML configuration or not Wb4{*~  
      是否加载xml配置(true,false) =XlIe{  
ODA#vAc!  
struts.continuations.package q.km>XRk~  
      The package containing actions that use Rife continuations wJ*-K-  
      含有actions的完整连续的package名称 [ {LnE:  
?^4sE-C6  
struts.custom.i18n.resources IkNt! 2s_  
      Location of additional localization properties files to load uA`PZ|  
      加载附加的国际化属性文件(不包含.properties后缀) N2s%p6RMPD  
6'! {0 5=m  
struts.custom.properties R9G)X]  
      Location of additional configuration properties files to load 9yw/-nA  
      加载附加的配置文件的位置 =c^=Yvc7U  
WVK-dBU  
l{m~d!w`a  
struts.devMode D-:<]D:  
      Whether Struts is in development mode or not 0.+eF }'H  
      是否为struts开发模式 pF+wH MhUe  
+J8/,d  
struts.dispatcher.parametersWorkaround [iy;}5XK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~c$ts&Cl  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4 xzJql  
r ;8z"*  
struts.enable.DynamicMethodInvocation q'@Ei4  
      Allows one to disable dynamic method invocation from the URL eE`1;13;  
        允许动态方法调用 x`vs-Y:P  
: ";D.{||  
struts.freemarker.manager.classname ~7WXjVZ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #ic 2ofI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g~:(EO(w  
e4%*I8 ^e  
struts.i18n.encoding e`M]ZG rr  
      The encoding to use for localization messages H<7DcwXv  
      国际化信息内码 Ilu`b|%D  
G2{M#H  
struts.i18n.reload RTBBb:eX  
      Whether the localization messages should automatically be reloaded @Qjl`SL%O^  
      是否国际化信息自动加载 slvs oN@  
(jMAa%  
struts.locale Cf=q_\0|W  
      The default locale for the Struts application E816 YS='  
      默认的国际化地区信息 ?i EXFYJG  
dN/ "1%9)  
struts.mapper.class A-C)w/7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yx w27~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rnv7L^9^A  
[*{\R`M  
struts.multipart.maxSize +xBK^5/x  
      The maximize size of a multipart request (file upload) #Y>%Dr&  
      multipart请求信息的最大尺寸(文件上传用) VSpt&19  
TKu68/\)  
struts.multipart.parser BRXb<M^;_  
      The org.apache.struts2.dispatcher.multipart. 3H}~eEg,  
      MultiPartRequest parser implementation for a multipart request (file upload) }>X\"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SA+%c)j29  
L[Yp\[#-q  
AKC foJ  
struts.multipart.saveDir K0RYI69_  
      The directory to use for storing uploaded files 8w8I:*  
      设置存储上传文件的目录夹 Fxth> O`$  
6`baQ!xc.  
struts.objectFactory 6Vbv$ AU  
      The com.opensymphony.xwork2.ObjectFactory implementation class }-q`&1!t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) I<(.i!-x  
' raB  
struts.objectFactory.spring.autoWire iVi3 :7*  
      Whether Spring should autoWire or not ^HlLj#  
      是否自动绑定Spring %*6oUb  
% X ,B-h^  
struts.objectFactory.spring.useClassCache m9<%v0r  
      Whether Spring should use its class cache or not y(3c{y@~X  
      是否spring应该使用自身的cache Ma=6kX]  
h$7Fe +#I#  
struts.objectTypeDeterminer q?-3^z%u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ncJFB,4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {q tc \O  
<+-Yh_D  
struts.serve.static.browserCache @Gn?8Ur%  
If static content served by the Struts filter should set browser caching header properties or not <r+!hJ[s'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g y e(/N+I  
Ce5w0&VlS  
struts.serve.static x\J;ZiWwW  
      Whether the Struts filter should serve static content or not qM1)3.)[:  
      是否struts过滤器应该提供静态内容 V)1:LLRW  
zdjM%l);  
struts.tag.altSyntax {~p7*j^0  
      Whether to use the alterative syntax for the tags or not *)`kx   
      是否可以用替代的语法替代tags :m++ iR  
!(]dz~sM  
struts.ui.templateDir g#'fd/?Q  
      The directory containing UI templates |j~EV~A J  
      UI templates的目录夹 UrhM)h?%  
YD='M.n\  
struts.ui.theme k$-~_^4m  
      The default UI template theme Rg?{?qK\K  
      默认的UI template主题 S\3AW,c]w  
# NN"(I  
struts.url.http.port G V:$;  
      The HTTP port used by Struts URLs ~C"k$;(n  
      设置http端口 N$,/Q9h^  
gVnws E  
struts.url.https.port u JQaHL!  
      The HTTPS port used by Struts URLs Y1fy2\<'  
      设置https端口 @ k+%y'Y?  
(3N"oE.b]  
struts.url.includeParams .A*VLF*m  
      The default includeParams method to generate Struts URLs ia^%Wg7  
      在url中产生 默认的includeParams 5qd_>UHp  
*TM;trfz  
ksu}+i,a  
struts.velocity.configfile #6N+5Yx_[  
      The Velocity configuration file path AvrL9D  
      velocity配置文件路径 y^d[( c  
KM/U?`6>:  
struts.velocity.contexts .L^pMU+!^  
      List of Velocity context names bCA2ik  
      velocity的context列表 < g3du~  
rQcRjh+E H  
>d{dZD}  
struts.velocity.manager.classname 5e#&"sJ.1  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8R\>FNk;  
      org.apache.struts2.views.velocity.VelocityManager接口名 \]T=j#.S$  
*^@#X-NG  
struts.velocity.toolboxlocation 2&.n  
      The location of the Velocity toolbox wc7mJxJxA  
      velocity工具盒的位置 . 0 s[{x  
struts.xslt.nocache n^iNo  
      Whether or not XSLT templates should not be cached Np|'7D  
      是否XSLT模版应该被缓存 W,HH *!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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