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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i9 aR#  
|lhnCShw  
struts.action.extension [#KY.n  
      The URL extension to use to determine if the request is meant for a Struts action Jxl'!8t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WsbVO|C  
u(zgKoF9A  
struts.configuration <0';2yP"  
      The org.apache.struts2.config.Configuration implementation class xa`xHh{0  
        org.apache.struts2.config.Configuration接口名 jt oS{B,  
4Uny.C]  
struts.configuration.files Yo%U{/e  
      A list of configuration files automatically loaded by Struts 4 QQt 0u0  
      struts自动加载的一个配置文件列表 ;"D}"nL  
d- ZUuw  
struts.configuration.xml.reload +"84.PZ  
      Whether to reload the XML configuration or not 45biy(qa  
      是否加载xml配置(true,false) X1w11Z7o  
$z!G%PO1%  
struts.continuations.package HD<$0M|  
      The package containing actions that use Rife continuations n1\$|[^6  
      含有actions的完整连续的package名称 "I56l2dxd  
}8^qb5+!3  
struts.custom.i18n.resources  ]j0+4w  
      Location of additional localization properties files to load {^oohW -  
      加载附加的国际化属性文件(不包含.properties后缀) "e-z 2G@z  
knO X5UnS  
struts.custom.properties co,0@.i  
      Location of additional configuration properties files to load  ];5J  
      加载附加的配置文件的位置 mX|M]^_,z  
P 0\`4Cr!  
!$n@:W/  
struts.devMode bofI0f}5.  
      Whether Struts is in development mode or not TqJ @l  
      是否为struts开发模式 `:'ciY|%b  
}wo:1v8J  
struts.dispatcher.parametersWorkaround ,?LE5]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +~=a$xA[C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jA "}\^%3  
qz- tXc ,  
struts.enable.DynamicMethodInvocation M XW1 :  
      Allows one to disable dynamic method invocation from the URL j~_iv~[  
        允许动态方法调用 +aOevkY]  
R\cx-h*  
struts.freemarker.manager.classname R.i ]6H!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w*{{bISw|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W$]qo|2P  
8K2@[TE=5  
struts.i18n.encoding M? 8sy  
      The encoding to use for localization messages 3^KR{N p  
      国际化信息内码 7mS Nz.  
uWx<J3~q.  
struts.i18n.reload YXo?(T..  
      Whether the localization messages should automatically be reloaded r!b>!  
      是否国际化信息自动加载 #;99vwc  
cKYvNM  
struts.locale 5H Cw%n9  
      The default locale for the Struts application 0Fkr3x  
      默认的国际化地区信息 VMABj\yG  
Uic  
struts.mapper.class nql1I<I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2RZa}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wMkHx3XD  
V|A)f@ Fs  
struts.multipart.maxSize I3 6@x`f  
      The maximize size of a multipart request (file upload) 5ppr;QaB  
      multipart请求信息的最大尺寸(文件上传用) ,i6U*  
BoT#b^l  
struts.multipart.parser ~_i=hx  
      The org.apache.struts2.dispatcher.multipart. |./:A5_h  
      MultiPartRequest parser implementation for a multipart request (file upload) PM!JjMeQh  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U _pPI$ =  
OfrzmL<K  
v,opyTwG|  
struts.multipart.saveDir P7>\j*U91{  
      The directory to use for storing uploaded files Tf=1p1!3  
      设置存储上传文件的目录夹 ku/vV+&O  
mm_)=Ipj>  
struts.objectFactory *_YH}U  
      The com.opensymphony.xwork2.ObjectFactory implementation class AxEdQRGk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) oM1C/=8   
.0,G4k/yv  
struts.objectFactory.spring.autoWire a{ke%W$*P  
      Whether Spring should autoWire or not <c5g-*V:  
      是否自动绑定Spring ADF<5#I  
Wlg1t~1=  
struts.objectFactory.spring.useClassCache l`#rhuy`  
      Whether Spring should use its class cache or not 5222"yn"c  
      是否spring应该使用自身的cache 7 2i&-`&4  
'=G6$O2  
struts.objectTypeDeterminer L_ T+KaQCH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aAP86MHO  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s5v}S'uO{  
"%Ief4  
struts.serve.static.browserCache n?c[ E+i;  
If static content served by the Struts filter should set browser caching header properties or not #"oLz"{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pFs/ipZX^*  
,2 xD>+=  
struts.serve.static t"9r`0>  
      Whether the Struts filter should serve static content or not mph9/ %]S  
      是否struts过滤器应该提供静态内容 s/t,6-~EH  
Uo9@Y{<B  
struts.tag.altSyntax @ o<O I  
      Whether to use the alterative syntax for the tags or not [g`4$_9S  
      是否可以用替代的语法替代tags %<+Ku11  
oR%cG"y  
struts.ui.templateDir HoX={^aG%  
      The directory containing UI templates PDH|=meXM  
      UI templates的目录夹 4h?@D_{k  
CXGMc)#>f  
struts.ui.theme [T9]q8"  
      The default UI template theme C[{E8Tg/  
      默认的UI template主题 H6 ,bpjY  
) iV^rLwL  
struts.url.http.port KXz7l\1Gb  
      The HTTP port used by Struts URLs pm9sI4S  
      设置http端口 A.yIl`'UP#  
P}=n^*8(I  
struts.url.https.port *'?V>q,  
      The HTTPS port used by Struts URLs 1}Guhayy  
      设置https端口 +_ 8BJ  
3xRn  
struts.url.includeParams 9*~";{O.Oa  
      The default includeParams method to generate Struts URLs *yHz#u'  
      在url中产生 默认的includeParams R4b!?}d  
jq#`cay!  
DGTE#?'(  
struts.velocity.configfile QxbG-B^)=  
      The Velocity configuration file path x8c>2w;6x^  
      velocity配置文件路径 toU<InN  
EqBTN07dZS  
struts.velocity.contexts YnU*MC}  
      List of Velocity context names <3ep5`1   
      velocity的context列表 I d8MXdV  
w87$p821  
k|RY; 8_  
struts.velocity.manager.classname "Q\b6 7Ch  
      org.apache.struts2.views.velocity.VelocityManager implementation class wmX(%5vY^  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,jW a&7  
}4piZ ch  
struts.velocity.toolboxlocation DTsD<o  
      The location of the Velocity toolbox ?b}e0C-a  
      velocity工具盒的位置 3&"uf9d  
struts.xslt.nocache T tWzjt  
      Whether or not XSLT templates should not be cached ' Qlj"U  
      是否XSLT模版应该被缓存 f6\4 ,()  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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