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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 qt*+ D  
u:2Ll[ eo  
struts.action.extension ~6@`;s`[Y  
      The URL extension to use to determine if the request is meant for a Struts action  k4dC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B(94;,(  
z F.@rXl  
struts.configuration  Owi/e  
      The org.apache.struts2.config.Configuration implementation class ujS oWs  
        org.apache.struts2.config.Configuration接口名 n=C"pH#  
m,!SD Cq  
struts.configuration.files i,a"5DR8  
      A list of configuration files automatically loaded by Struts Iia.`"S  
      struts自动加载的一个配置文件列表 A;RV~!xx  
.#$2,"8  
struts.configuration.xml.reload }aR}ZzK/v  
      Whether to reload the XML configuration or not  0.0-rd>  
      是否加载xml配置(true,false) VZI!rFac  
3B 'j?+A  
struts.continuations.package fz:(mZ%  
      The package containing actions that use Rife continuations t(-,mw  
      含有actions的完整连续的package名称 zU+q03l8Ur  
p/VVb%  
struts.custom.i18n.resources u;-fG9xs  
      Location of additional localization properties files to load xlu4  
      加载附加的国际化属性文件(不包含.properties后缀) ByJPSuc D  
0V(}Zj>  
struts.custom.properties Zx_ ^P:rL  
      Location of additional configuration properties files to load ^N|8 B?Vg  
      加载附加的配置文件的位置 v[^8_y}A`  
=3w;<1 ?'  
9 %4:eTcp  
struts.devMode  ;tZQ9#S  
      Whether Struts is in development mode or not ^PezV5(  
      是否为struts开发模式 PC<_1!M]  
@r/~Y]0Ye5  
struts.dispatcher.parametersWorkaround qJrKt=CE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $=N?[h&4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ceJi|`F  
?X6}+  
struts.enable.DynamicMethodInvocation z<vh8dNl  
      Allows one to disable dynamic method invocation from the URL 4,c6VCw3+  
        允许动态方法调用 Z%B6J>;uM  
ybE 2N  
struts.freemarker.manager.classname YnU)f@b#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T!KwRxJ23  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 CCe>*tdf  
:vG0 l\  
struts.i18n.encoding ;VAyH('~  
      The encoding to use for localization messages 79W^;\3  
      国际化信息内码 2*V[kmD/3  
~r5S{&  
struts.i18n.reload !h7.xl OpN  
      Whether the localization messages should automatically be reloaded 5HV+7zU5  
      是否国际化信息自动加载 ,_RNZ sa;&  
XgHJ Oqt  
struts.locale -"dt3$ju  
      The default locale for the Struts application e@ZM&iR  
      默认的国际化地区信息 ;s/<wx-C  
4$pV;xV  
struts.mapper.class +)"Rv%.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3>@VPMi  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 zZ8*a\  
-;L'Jb>s76  
struts.multipart.maxSize , i5_4  
      The maximize size of a multipart request (file upload) WJnGF3G>  
      multipart请求信息的最大尺寸(文件上传用) ebQgk Y=  
:1>?:3,`  
struts.multipart.parser @ gWd  
      The org.apache.struts2.dispatcher.multipart. 7<] EH:9  
      MultiPartRequest parser implementation for a multipart request (file upload) p|ink):  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Pa{  
V9BW@G@9  
z m$Sw0#(  
struts.multipart.saveDir V+O,y9  
      The directory to use for storing uploaded files 6~x'~T  
      设置存储上传文件的目录夹 MkPQ@so  
KddCR&  
struts.objectFactory PVBz~rG  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^x: lB>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C'#)mo_@t  
Ct w<-'  
struts.objectFactory.spring.autoWire UgC65O2  
      Whether Spring should autoWire or not lFyDH{!  
      是否自动绑定Spring w&aZ 97{  
Oti*"dV\::  
struts.objectFactory.spring.useClassCache wc4BSJa,19  
      Whether Spring should use its class cache or not ]2wxqglh)  
      是否spring应该使用自身的cache ]$[sfPKA  
ujX; wGje  
struts.objectTypeDeterminer $}gM JG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k_=yb^6[U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j fY7ich  
Ey|_e3Lf[  
struts.serve.static.browserCache  Qw}1q!89  
If static content served by the Struts filter should set browser caching header properties or not !ka* rd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !B}9gT  
3uqhYT;  
struts.serve.static Ww2@!ng  
      Whether the Struts filter should serve static content or not Lz'VQO1U=  
      是否struts过滤器应该提供静态内容 *7jz(iX  
Q S&B"7;g  
struts.tag.altSyntax rTIu'  
      Whether to use the alterative syntax for the tags or not 6(f 'P_*  
      是否可以用替代的语法替代tags VWvSt C  
LZRg%3.E  
struts.ui.templateDir {7OHEArv  
      The directory containing UI templates c0gVW~I1  
      UI templates的目录夹 n|~y >w4  
:-46"bP.  
struts.ui.theme 67II9\/  
      The default UI template theme #_wq#rF  
      默认的UI template主题 $s/E } X  
,KW Q 6  
struts.url.http.port 9qB0F_xl  
      The HTTP port used by Struts URLs q*l4h u%3  
      设置http端口 S%i^`_=Q  
ZNX38<3h  
struts.url.https.port V*uE83x 1  
      The HTTPS port used by Struts URLs |1~n<=`Z  
      设置https端口 'p&,'+x  
#hZ$ ;1.  
struts.url.includeParams 6:7[>|okQ  
      The default includeParams method to generate Struts URLs K -U} sW  
      在url中产生 默认的includeParams ,_Z(!| rW  
/uwi$~Ed  
>%j%Mj@8q|  
struts.velocity.configfile J~k9jeq9  
      The Velocity configuration file path 5 8bW  
      velocity配置文件路径 v 3I^81  
,yYcjs!=o  
struts.velocity.contexts "+F'WCJ-(*  
      List of Velocity context names y>P+"Z.K%}  
      velocity的context列表 $oK&k}Q  
CJ :V%|  
!qt2,V  
struts.velocity.manager.classname Pb#M7=J/  
      org.apache.struts2.views.velocity.VelocityManager implementation class g"!(@]L!@  
      org.apache.struts2.views.velocity.VelocityManager接口名 "?I#!t%'  
YX0ysE*V:&  
struts.velocity.toolboxlocation ;.A}c)b  
      The location of the Velocity toolbox #X}HF$t{=  
      velocity工具盒的位置 i+*!" /De  
struts.xslt.nocache P=QxfX0B  
      Whether or not XSLT templates should not be cached 9r!8BjA  
      是否XSLT模版应该被缓存 ~zqb{o^pT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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