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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )f8>kz(  
Cq5.gkS<  
struts.action.extension _H]\  
      The URL extension to use to determine if the request is meant for a Struts action @T1G#[C~t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "Ih3  
HU0.)tD  
struts.configuration -@Ap;,=  
      The org.apache.struts2.config.Configuration implementation class GwWK'F'2  
        org.apache.struts2.config.Configuration接口名 d0J /"<  
B-I4(w($  
struts.configuration.files .)E#*kLWR  
      A list of configuration files automatically loaded by Struts L!f~Am:#  
      struts自动加载的一个配置文件列表 BR|!ya+_2  
S"bN9?;#u  
struts.configuration.xml.reload u=`H n-(  
      Whether to reload the XML configuration or not .1QGNW  
      是否加载xml配置(true,false) +LHU}'|  
*CN *G"  
struts.continuations.package gC7!cn  
      The package containing actions that use Rife continuations manw;`Q  
      含有actions的完整连续的package名称 RB>=#03  
srS!X$cec  
struts.custom.i18n.resources A|biOz  
      Location of additional localization properties files to load )k<cd.MX  
      加载附加的国际化属性文件(不包含.properties后缀) U1 `5P!ov  
J"gMm@#C4  
struts.custom.properties ~E}kwF  
      Location of additional configuration properties files to load %0\@\fC41  
      加载附加的配置文件的位置 V 6}5^W  
6@]o,O  
O>`k@X@9/  
struts.devMode e=]SIR()`  
      Whether Struts is in development mode or not |mT%IR  
      是否为struts开发模式 =4TQ*;V:  
hY}Q|-|  
struts.dispatcher.parametersWorkaround zDF Nx:h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GrF4*I`q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aZZ0eH  
:8S;34Y;  
struts.enable.DynamicMethodInvocation 74e=zW?  
      Allows one to disable dynamic method invocation from the URL 0nc(2Bi  
        允许动态方法调用 hB [bth  
>N&{DJmD  
struts.freemarker.manager.classname #.8v[TkKq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  lKbWQ>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fECV\Z  
j26i+Z  
struts.i18n.encoding =7!s8D,[  
      The encoding to use for localization messages rfV'EjiM}  
      国际化信息内码 (Ypy}  
Y7G sL7I  
struts.i18n.reload py6<QoGV  
      Whether the localization messages should automatically be reloaded a)|y0w)vV  
      是否国际化信息自动加载 N:G]wsh  
?mMM{{%(.  
struts.locale _\AQJ?< M  
      The default locale for the Struts application We6eAP/Z  
      默认的国际化地区信息 ED0cnr\yG  
:.PA(97x b  
struts.mapper.class V#G)w~   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k?=1q[RQH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VQIvu)I  
DG&'x;K"$  
struts.multipart.maxSize 8Qi)E 1n  
      The maximize size of a multipart request (file upload) xMbgBx4+  
      multipart请求信息的最大尺寸(文件上传用) . !1[I{KU  
3f =ZNJ>  
struts.multipart.parser X5owAc6  
      The org.apache.struts2.dispatcher.multipart. $Sc_E:`]  
      MultiPartRequest parser implementation for a multipart request (file upload) _'D(>e?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]p|?S[!=  
mG)5xD  
t?hfP2&6  
struts.multipart.saveDir x'EEmjJ  
      The directory to use for storing uploaded files k26C=tlkv"  
      设置存储上传文件的目录夹 0 u*a=f=  
08\w!!a:  
struts.objectFactory EPE_2a}  
      The com.opensymphony.xwork2.ObjectFactory implementation class NQD5=/o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H&-3`<  
eA N{BPN [  
struts.objectFactory.spring.autoWire 2: QT`e&  
      Whether Spring should autoWire or not MKbcJZe  
      是否自动绑定Spring \.2i?<BC  
NV5qF/<M  
struts.objectFactory.spring.useClassCache #cQ5-R -1  
      Whether Spring should use its class cache or not (iKJ~bJ  
      是否spring应该使用自身的cache stG +4w  
6B]=\H  
struts.objectTypeDeterminer |!FQQ(1b  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |GMo"[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G=y~)B}  
}NDl~5  
struts.serve.static.browserCache 2 G.y.#W  
If static content served by the Struts filter should set browser caching header properties or not _DxHJl  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cs6oD!h  
6UCF w>  
struts.serve.static 0"7+;(\1Rk  
      Whether the Struts filter should serve static content or not 2hV -h  
      是否struts过滤器应该提供静态内容 s AFn.W  
:uo)-9_  
struts.tag.altSyntax =`x }9|[  
      Whether to use the alterative syntax for the tags or not 1 b 7jNkQ  
      是否可以用替代的语法替代tags b |:Y3_>  
"{8j!+]4i  
struts.ui.templateDir *I :c@iCNJ  
      The directory containing UI templates 7V%P  
      UI templates的目录夹 [~Ky{:@)[  
=]%,&Se  
struts.ui.theme ZtZ3I?%U3  
      The default UI template theme lEl.'X$  
      默认的UI template主题 _1[Wv?  
A~xw:[zy$a  
struts.url.http.port B*_K}5UO  
      The HTTP port used by Struts URLs gaN/ kp  
      设置http端口 uD/@d'd_4L  
<ll?rPio"  
struts.url.https.port ]Ea-MeH  
      The HTTPS port used by Struts URLs Cu`  
      设置https端口 ![Qi+xyc  
xHt7/8wF  
struts.url.includeParams Q z(n41@`  
      The default includeParams method to generate Struts URLs G,>YzjMY`  
      在url中产生 默认的includeParams \k5"&]I3  
U!uPf:p2  
Ma!  
struts.velocity.configfile (F^R9G|  
      The Velocity configuration file path 2|x !~e.  
      velocity配置文件路径 %GTFub0 F  
R?u(aY)P  
struts.velocity.contexts dQT[pNp:  
      List of Velocity context names pO *[~yq5  
      velocity的context列表 HW]?%9a  
rf H1Zl  
=4`wYh  
struts.velocity.manager.classname umns*U%T;  
      org.apache.struts2.views.velocity.VelocityManager implementation class `U|7sLR  
      org.apache.struts2.views.velocity.VelocityManager接口名 Xfg3q.q  
t Cb34Wpf  
struts.velocity.toolboxlocation n UmyPQ~  
      The location of the Velocity toolbox  <O7!(  
      velocity工具盒的位置 c2 NB@T9'v  
struts.xslt.nocache =/K)hI!u  
      Whether or not XSLT templates should not be cached H.ZF~Yu w  
      是否XSLT模版应该被缓存 inh:b .,B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五