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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [^a7l$fmi  
aj1g9 y  
struts.action.extension mm#UaEp  
      The URL extension to use to determine if the request is meant for a Struts action Z"Lr5'}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jt6_1^  
KI\bV0$p<  
struts.configuration b (@GKH"W  
      The org.apache.struts2.config.Configuration implementation class mnZfk  
        org.apache.struts2.config.Configuration接口名 :##$-K*W"  
7R5ebMW V  
struts.configuration.files e9'0CH<  
      A list of configuration files automatically loaded by Struts )xU+M{p-os  
      struts自动加载的一个配置文件列表 9Ut eD@*  
Xajt][  
struts.configuration.xml.reload f\$_^dV  
      Whether to reload the XML configuration or not fA1{-JzV<4  
      是否加载xml配置(true,false) t; #@t/`  
\ 6taC  
struts.continuations.package It2:2  
      The package containing actions that use Rife continuations 2H8\P+  
      含有actions的完整连续的package名称 \uo{I~Qd  
t&JOASYC  
struts.custom.i18n.resources Lf<urIF  
      Location of additional localization properties files to load PS!or!m  
      加载附加的国际化属性文件(不包含.properties后缀) vY4}vHH2  
<M5fk?n,|  
struts.custom.properties 3e-E/6zH6  
      Location of additional configuration properties files to load ?)<zzL",  
      加载附加的配置文件的位置 %'. x vC  
{Qd oI Pr3  
-e"kJd&V  
struts.devMode `DGI|3  
      Whether Struts is in development mode or not Y0Tw:1a  
      是否为struts开发模式 C %j%>X`  
pIpdVKen  
struts.dispatcher.parametersWorkaround >Z gV8X:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Hv' OO@z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V4Qy^nn1  
D8*6h)~  
struts.enable.DynamicMethodInvocation qOQ8a:]?  
      Allows one to disable dynamic method invocation from the URL Y HS/|-  
        允许动态方法调用 Wzff p}V  
ZhRdml4U2  
struts.freemarker.manager.classname u+6L>7t88I  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KT(v'KE 1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e^;:iJS  
e`JWY9%  
struts.i18n.encoding Xyz/CZPi  
      The encoding to use for localization messages PN J&{4wY  
      国际化信息内码 yP` K [/  
ei}(jlQp  
struts.i18n.reload nHF~a?|FT  
      Whether the localization messages should automatically be reloaded y= 8SD7P'  
      是否国际化信息自动加载 I 5ZDP|  
:1"k`AG  
struts.locale m9 c`"!  
      The default locale for the Struts application ApggTzh@  
      默认的国际化地区信息 JXt_  
Ne3YhCC>  
struts.mapper.class <wd;W;B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 96; gzG@1!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x.Ny@l%]  
#l9sQ-1Q  
struts.multipart.maxSize 5vS[{;<&  
      The maximize size of a multipart request (file upload) d}|z+D  
      multipart请求信息的最大尺寸(文件上传用) Zrgv*  
Bk5 ELf8pL  
struts.multipart.parser @li/Y6Wh  
      The org.apache.struts2.dispatcher.multipart. qq?o^_^4  
      MultiPartRequest parser implementation for a multipart request (file upload) Q TN24 q4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?h| DeD!s  
oxI?7dy5  
M*Q}^<E*  
struts.multipart.saveDir VH+3o?nrT  
      The directory to use for storing uploaded files X(#8EY}X  
      设置存储上传文件的目录夹 2r+nr  
tt6GtYrC 1  
struts.objectFactory g"c7$  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;v.J D7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CeUXGa|C  
P{J9#.Zq&s  
struts.objectFactory.spring.autoWire sK/ymEfRv  
      Whether Spring should autoWire or not s%~Nx3,  
      是否自动绑定Spring ) jM-5}"  
Be^"sC  
struts.objectFactory.spring.useClassCache >'WTVj`  
      Whether Spring should use its class cache or not tehWGqx)  
      是否spring应该使用自身的cache ,":_CY4(  
F~OQ'59!Pf  
struts.objectTypeDeterminer \O,yWyU4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -Edi"B4K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iO18FfM_  
OJM2t`}_t  
struts.serve.static.browserCache U17=/E  
If static content served by the Struts filter should set browser caching header properties or not n!Y}D:6c6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L`9.Gf  
gv(MX ;B#  
struts.serve.static cbzS7q<)  
      Whether the Struts filter should serve static content or not 5'w&M{{9  
      是否struts过滤器应该提供静态内容 W(-son~I  
%@ q2  
struts.tag.altSyntax #~qza ETv,  
      Whether to use the alterative syntax for the tags or not CC$rt2\e  
      是否可以用替代的语法替代tags &wu1Zz[qcz  
nhZ/^`Y<  
struts.ui.templateDir =`C K`x  
      The directory containing UI templates G<`(d@g  
      UI templates的目录夹 p`52  
fI=p^k:  
struts.ui.theme CU*;>h1~u  
      The default UI template theme r5$!41   
      默认的UI template主题 f%[xl6VE;  
``{GU}n  
struts.url.http.port f3.oc9G  
      The HTTP port used by Struts URLs (VHPcoL  
      设置http端口 :RBeq,QaO  
g~9b_PY9  
struts.url.https.port <1_3`t  
      The HTTPS port used by Struts URLs B=}QgXg  
      设置https端口 g2u\gR5  
?T|0"|\"'  
struts.url.includeParams IfI:|w}:"r  
      The default includeParams method to generate Struts URLs [?$tu%Q(Z  
      在url中产生 默认的includeParams `ooHABC  
s8' ;4z  
K;w]sN+I  
struts.velocity.configfile Y%r>=Jvu6  
      The Velocity configuration file path 0[7"Lhpd  
      velocity配置文件路径 ztp2j%'  
QWC C  
struts.velocity.contexts ;!3: 3;  
      List of Velocity context names 2)QZYgfh  
      velocity的context列表 [ThAv Q_$  
>5 Y.  
iYlkc  
struts.velocity.manager.classname Wdj|RKw  
      org.apache.struts2.views.velocity.VelocityManager implementation class l$R9c+L=  
      org.apache.struts2.views.velocity.VelocityManager接口名 lWP]}Uy=5~  
g{2~G6%;0  
struts.velocity.toolboxlocation u1. 0-Y?  
      The location of the Velocity toolbox :$P1ps3B  
      velocity工具盒的位置 WHU l.h  
struts.xslt.nocache <R%TCVwC@  
      Whether or not XSLT templates should not be cached it-2]Nw  
      是否XSLT模版应该被缓存 K<pZ*l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八