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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 F^b C!;~x  
v<bq1QG  
struts.action.extension Im%|9g;P  
      The URL extension to use to determine if the request is meant for a Struts action Zzr+p.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n m(yFX?=  
f" Yj'`6  
struts.configuration j{N;2#.u  
      The org.apache.struts2.config.Configuration implementation class Z'dY,<@  
        org.apache.struts2.config.Configuration接口名 TuY{c%qQ:  
\W;~[-"#  
struts.configuration.files }/BwFB+(/  
      A list of configuration files automatically loaded by Struts ?TLEZlB2"  
      struts自动加载的一个配置文件列表 0(#HMBE8  
pHFlO!#]|  
struts.configuration.xml.reload KY/}jJW  
      Whether to reload the XML configuration or not w~M5)b  
      是否加载xml配置(true,false) KTxdZt  
5} |O  
struts.continuations.package , M$*c  
      The package containing actions that use Rife continuations SPW @TF1  
      含有actions的完整连续的package名称 >|SB]'C|  
E } |g3  
struts.custom.i18n.resources (WiA  
      Location of additional localization properties files to load !OM9aITv[  
      加载附加的国际化属性文件(不包含.properties后缀) \lHi=}0  
=" K;3a`GI  
struts.custom.properties Pa 2HFy2  
      Location of additional configuration properties files to load ~jAOGo/&6  
      加载附加的配置文件的位置 =BY)>0?z  
B5Rmz&  
)xCpQ=nS  
struts.devMode ]3hz{zqV^  
      Whether Struts is in development mode or not I=&5mg=m  
      是否为struts开发模式 >bxT_qEm  
D.)$\Caq  
struts.dispatcher.parametersWorkaround ?@Z~i]gE[V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mH*42XC*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b,5H|$nLu  
#{7=  
struts.enable.DynamicMethodInvocation vIG8m@-!&;  
      Allows one to disable dynamic method invocation from the URL Pgf$GXE  
        允许动态方法调用 f2[z)j7  
OTd=(dwh  
struts.freemarker.manager.classname |s|>46E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !Jb?r SJ.h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4?M= ?K0  
O; EI&  
struts.i18n.encoding 94I8~Jj4  
      The encoding to use for localization messages @]tFRV  
      国际化信息内码 F0:Fv;  
'[JrP<~^o  
struts.i18n.reload "[@-p  
      Whether the localization messages should automatically be reloaded 7;Km J}$  
      是否国际化信息自动加载 |Z6rP-  
T :CsYj1  
struts.locale oju/%ieh  
      The default locale for the Struts application VY<v?Of i-  
      默认的国际化地区信息 ^te9f%>$l  
m}6GVQ'Q  
struts.mapper.class r S/Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zb-TCS+3l  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &9PzBc  
xuO5|{h  
struts.multipart.maxSize N-jFA8n  
      The maximize size of a multipart request (file upload) TJ7on.;  
      multipart请求信息的最大尺寸(文件上传用) lE08UEk1i  
}txHuq1Q.  
struts.multipart.parser 1 Y@6oT  
      The org.apache.struts2.dispatcher.multipart. gj\r>~S  
      MultiPartRequest parser implementation for a multipart request (file upload) ;3Fgy8 T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eB/3MUz1  
VJD$nh #M5  
k]Y+C@g  
struts.multipart.saveDir >!A&@1[M  
      The directory to use for storing uploaded files !l~tBJr*sB  
      设置存储上传文件的目录夹 &bh?jW  
K>Fo+f  
struts.objectFactory En+4@BC  
      The com.opensymphony.xwork2.ObjectFactory implementation class +Es3iE @  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aMuc]Wy#  
4 *He<2g  
struts.objectFactory.spring.autoWire Wf 13Ab  
      Whether Spring should autoWire or not 1W8[ RET  
      是否自动绑定Spring ^Ot+,l)  
7u,56V?X  
struts.objectFactory.spring.useClassCache 3nd02:GF  
      Whether Spring should use its class cache or not {#uX   
      是否spring应该使用自身的cache TuwH?{ FzK  
o; 6\  
struts.objectTypeDeterminer sBS\S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T_6,o[b8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &of%;>$>M  
Mp?Ev.  
struts.serve.static.browserCache m^U\l9LE  
If static content served by the Struts filter should set browser caching header properties or not )8ctNpQt  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b'Z#RIb  
_.J{U0N  
struts.serve.static ^w^cYM,  
      Whether the Struts filter should serve static content or not W6&" .2  
      是否struts过滤器应该提供静态内容 [:a;|t  
:~:(49l  
struts.tag.altSyntax Ee9u7TFT  
      Whether to use the alterative syntax for the tags or not s?=f,I  
      是否可以用替代的语法替代tags NeCTEe|V  
M^r1b1tR  
struts.ui.templateDir HCb7 `(@  
      The directory containing UI templates  gsc/IUk  
      UI templates的目录夹 gTW(2?xYf  
x_v pds  
struts.ui.theme [HtU-8:  
      The default UI template theme l+kI4B7--  
      默认的UI template主题 ; z:}OD  
:Ff1Js(Z  
struts.url.http.port -#3B>VY  
      The HTTP port used by Struts URLs / !jd%,G  
      设置http端口 vBj{bnl  
p(Y'fd}  
struts.url.https.port KLsTgo|J  
      The HTTPS port used by Struts URLs PAH; +  
      设置https端口 Niou=PI@  
(8@._  
struts.url.includeParams SWO$# X /  
      The default includeParams method to generate Struts URLs &kXf)xc<~  
      在url中产生 默认的includeParams R JnRbaC  
2aW&d=!ZV  
S`K8e^]  
struts.velocity.configfile =B*,S#r  
      The Velocity configuration file path J.?6a:#bU/  
      velocity配置文件路径 nE Qw6q~je  
:uZcN  
struts.velocity.contexts HkJ$r<J2  
      List of Velocity context names SR%h=`t  
      velocity的context列表 }UHuFff,  
76} N/C  
0mH>fs 4  
struts.velocity.manager.classname oO$a4|&,  
      org.apache.struts2.views.velocity.VelocityManager implementation class &Dqg<U  
      org.apache.struts2.views.velocity.VelocityManager接口名 H ~J#!3  
AmRppbj/wO  
struts.velocity.toolboxlocation Th`IpxV  
      The location of the Velocity toolbox oVb6,Pn  
      velocity工具盒的位置 ]^VC@$\)+  
struts.xslt.nocache zvdtP'&uj  
      Whether or not XSLT templates should not be cached ~( -B%Az  
      是否XSLT模版应该被缓存 rh${pHl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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