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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %,,`N I{  
'DzBp  
struts.action.extension 8.CKH4h  
      The URL extension to use to determine if the request is meant for a Struts action f[Fgh@4cj  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )W]>\=@Y  
N pXgyD  
struts.configuration wfDp,T3w7  
      The org.apache.struts2.config.Configuration implementation class lMwk.#  
        org.apache.struts2.config.Configuration接口名 [.;%\>Qk<  
r|^lt7\  
struts.configuration.files 8nIMZV  
      A list of configuration files automatically loaded by Struts ^+.t-3|U  
      struts自动加载的一个配置文件列表 OyJsz]b} M  
 .3a:n\tY  
struts.configuration.xml.reload HX3D*2v":  
      Whether to reload the XML configuration or not ],\sRQbv&  
      是否加载xml配置(true,false) IAP/G5'Q  
e)HhnN@  
struts.continuations.package 1t~FW-:  
      The package containing actions that use Rife continuations Y  .  
      含有actions的完整连续的package名称 dXiE.Si  
1xO!w+J#  
struts.custom.i18n.resources )d}H>Qx=  
      Location of additional localization properties files to load ut4r~~Ar  
      加载附加的国际化属性文件(不包含.properties后缀) v._Egk0  
%9T~8L @.  
struts.custom.properties SbS$(Gt#Bv  
      Location of additional configuration properties files to load u3Usq=Ij{  
      加载附加的配置文件的位置 +_ *eu  
QSHJmk 6L  
V)0[`zJ  
struts.devMode s]y-pZ  
      Whether Struts is in development mode or not 4jX@m  
      是否为struts开发模式 &@YFje6Lcm  
d&[iEU  
struts.dispatcher.parametersWorkaround AozmO  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @sw9A93A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y^R?Q'  
{gFAvMj #  
struts.enable.DynamicMethodInvocation %/l-A pu  
      Allows one to disable dynamic method invocation from the URL 'y4zBLY  
        允许动态方法调用 g.I(WJX0  
-ca7x`yo  
struts.freemarker.manager.classname R2}kz.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %n05 Jitl  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @up&q  
7 9Qc`3a  
struts.i18n.encoding 2J;kD2"!  
      The encoding to use for localization messages I %|@3=Yc  
      国际化信息内码 %cH8;5U40  
, Aq9fyC%  
struts.i18n.reload ^IX%dzM  
      Whether the localization messages should automatically be reloaded _1>SG2h{fV  
      是否国际化信息自动加载 fav5e'[$  
R=-+YBw7/  
struts.locale o 'C~~Vg).  
      The default locale for the Struts application t=n+3`g  
      默认的国际化地区信息 ud0QZ X  
{TyCj?3B  
struts.mapper.class 1.'(nKoq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Dv<wge`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K;oV"KRK  
R'6@n#:  
struts.multipart.maxSize gtD   
      The maximize size of a multipart request (file upload) t< sp%zXZ  
      multipart请求信息的最大尺寸(文件上传用) w&p~0cA~  
_*s~`jn{H  
struts.multipart.parser P+Wm9xR2d  
      The org.apache.struts2.dispatcher.multipart. zlH28V  
      MultiPartRequest parser implementation for a multipart request (file upload) h&lyxYZ+T$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X<(6T  
7MY)\aH  
{7vgHutp  
struts.multipart.saveDir [6AHaOhR'  
      The directory to use for storing uploaded files Ri|k<io  
      设置存储上传文件的目录夹 M_k`%o  
8 AFMn[{  
struts.objectFactory i<%m Iq1L  
      The com.opensymphony.xwork2.ObjectFactory implementation class C<_ Urnmn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 60"5?=D  
1p8:.1)q  
struts.objectFactory.spring.autoWire ;0IvF#SJ(.  
      Whether Spring should autoWire or not `9/0J-7*  
      是否自动绑定Spring oP/>ju  
:<L5sp  
struts.objectFactory.spring.useClassCache /@VsqD  
      Whether Spring should use its class cache or not {'NBp0i  
      是否spring应该使用自身的cache ^^%JoQ.  
/K7Bae5h  
struts.objectTypeDeterminer M~uMY+>   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tKwn~T  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J*5hf:?i  
14mf}"z\  
struts.serve.static.browserCache >K\3*]>J3  
If static content served by the Struts filter should set browser caching header properties or not o&~dGG4J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;;:">@5  
|2O')3p"9  
struts.serve.static xcst<=  
      Whether the Struts filter should serve static content or not Us'Cs+5XcG  
      是否struts过滤器应该提供静态内容 4S tjj!ew  
0; 7#ji  
struts.tag.altSyntax `|nH1sHFq  
      Whether to use the alterative syntax for the tags or not `%e|$pK  
      是否可以用替代的语法替代tags ;AKwx|I$g  
B`i$Wt<7  
struts.ui.templateDir j_p`Ng  
      The directory containing UI templates z) :ka"e  
      UI templates的目录夹 j1/+\8Y  
Oukd_Ryf   
struts.ui.theme :$NsR*Cq*9  
      The default UI template theme GQb i$kl  
      默认的UI template主题 eH %Ja[  
GWhE8EDT  
struts.url.http.port ?=<~^Lk  
      The HTTP port used by Struts URLs JnY$fs*"  
      设置http端口 FQ`(b3.   
}`9jH:q-Z  
struts.url.https.port ?ty>}.c t  
      The HTTPS port used by Struts URLs >z(wf>2J  
      设置https端口 'r\ 4}Ik  
%,0%NjK  
struts.url.includeParams OVZP x%a  
      The default includeParams method to generate Struts URLs K*1.'9/  
      在url中产生 默认的includeParams Goxl3LS<  
HmMO*k<6@  
! D$Ooamq  
struts.velocity.configfile "tUwo(K[  
      The Velocity configuration file path hUh+JW  
      velocity配置文件路径 eTT) P  
h h"h j  
struts.velocity.contexts Fk{J@Y  
      List of Velocity context names e4DMO*6  
      velocity的context列表 {=67XrWN1  
8f|98T"  
j C)-`_  
struts.velocity.manager.classname 5MR,UgT  
      org.apache.struts2.views.velocity.VelocityManager implementation class +1QK}H ~  
      org.apache.struts2.views.velocity.VelocityManager接口名 DSvmVI  
yI&9\fn  
struts.velocity.toolboxlocation >{wuEPA  
      The location of the Velocity toolbox U6<M/>RG$  
      velocity工具盒的位置 Huc|6~X  
struts.xslt.nocache )hBE11,PB  
      Whether or not XSLT templates should not be cached cL G6(<L  
      是否XSLT模版应该被缓存 c+g@Z"es  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八