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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 NC>rZS]  
oR[,?qu@f  
struts.action.extension ipQJn_:2  
      The URL extension to use to determine if the request is meant for a Struts action wlAlIvIT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8%_XJyg  
[kt!\-  
struts.configuration hW~,Uqy  
      The org.apache.struts2.config.Configuration implementation class z~L4BY@z  
        org.apache.struts2.config.Configuration接口名 M+gQN}BAr  
`5r*4N<  
struts.configuration.files Q|@!zMy  
      A list of configuration files automatically loaded by Struts %+L:Gm+^g#  
      struts自动加载的一个配置文件列表 WLP A51R  
Q i&!IG  
struts.configuration.xml.reload HN7(-ml=B  
      Whether to reload the XML configuration or not 6m_Y%&   
      是否加载xml配置(true,false) pT>[w1Kk^  
<?yAIhgN*  
struts.continuations.package 8do]5FE  
      The package containing actions that use Rife continuations ^cZF#%k  
      含有actions的完整连续的package名称 6Hi3h{  
+6B(LPxgP  
struts.custom.i18n.resources \tye:!a?;@  
      Location of additional localization properties files to load 2IFri|;-eb  
      加载附加的国际化属性文件(不包含.properties后缀) ^' lx5+-  
Dq)V] Zx  
struts.custom.properties UAFl+d!  
      Location of additional configuration properties files to load *Y?rls`  
      加载附加的配置文件的位置 ^+F@KXn L  
<K=:_  
X-|`|>3E  
struts.devMode )TP 1i  
      Whether Struts is in development mode or not -;a}'1HOE  
      是否为struts开发模式 Ett%Y*D+J  
x>A(016:C  
struts.dispatcher.parametersWorkaround /1zi(z   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .5p"o-:D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MH.,dB&  
2oXsPrtZ  
struts.enable.DynamicMethodInvocation 7Y&W^]UZ0t  
      Allows one to disable dynamic method invocation from the URL r,(rWptf4  
        允许动态方法调用 T\:Vu{|  
rZLTai}`>  
struts.freemarker.manager.classname Y/2@PzA|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +XLy Pj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KqG:o+V=  
J/>Y mi,  
struts.i18n.encoding XpJT/&4  
      The encoding to use for localization messages (@B gsY  
      国际化信息内码 :;cKns0OA  
G%Hr c  
struts.i18n.reload %{!*)V\  
      Whether the localization messages should automatically be reloaded ^GQ+,0Yy  
      是否国际化信息自动加载 !X$e;V"HX  
|>5NH'agV  
struts.locale f>k]{W Y  
      The default locale for the Struts application G#t!{Q}8  
      默认的国际化地区信息 &#;vR 0O  
oS 7q#`  
struts.mapper.class 0j %s H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dZFf /BXU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qZ'&zB)  
EdlU}LU  
struts.multipart.maxSize 2.{:PM4Z4  
      The maximize size of a multipart request (file upload) 12U1DEd>-  
      multipart请求信息的最大尺寸(文件上传用) 0k>bsn/ j  
X!ZUR^  
struts.multipart.parser %D< =6suW  
      The org.apache.struts2.dispatcher.multipart. $bIVD  
      MultiPartRequest parser implementation for a multipart request (file upload) }xcA`w3u2?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yw `w6Z3K  
X`/8fag  
/oKa?iT  
struts.multipart.saveDir |k1(|)%G  
      The directory to use for storing uploaded files z$ZG`v>0  
      设置存储上传文件的目录夹 S@* lI2  
% 3d59O  
struts.objectFactory "#\\p~D/<  
      The com.opensymphony.xwork2.ObjectFactory implementation class :*u .=^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vnwS &;-k~  
,#W>E,UU  
struts.objectFactory.spring.autoWire 9dn~nnd'n  
      Whether Spring should autoWire or not Jz(wXp  
      是否自动绑定Spring Aj((tMJNOw  
{&nL'R  
struts.objectFactory.spring.useClassCache ^&F8NEb=2>  
      Whether Spring should use its class cache or not h)fJ2]JW8W  
      是否spring应该使用自身的cache 0}}b\!]9  
xTiC[<j  
struts.objectTypeDeterminer 0Mpc#:a%1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ))- B`vi  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aMKi`EW  
eLWD?-v%  
struts.serve.static.browserCache }G}2Y (  
If static content served by the Struts filter should set browser caching header properties or not %MGbIMpY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i eQQ{iGJH  
4WU%K`jnXb  
struts.serve.static UfIH!6Q  
      Whether the Struts filter should serve static content or not D@A@5pvS  
      是否struts过滤器应该提供静态内容 g\^7Q  
"i0{E!,XL  
struts.tag.altSyntax , 7-@eZ  
      Whether to use the alterative syntax for the tags or not r#hA kOw  
      是否可以用替代的语法替代tags = i9|lU"Va  
(Qq;ySZ#  
struts.ui.templateDir P7np -I*  
      The directory containing UI templates x8 :  
      UI templates的目录夹 @c,Qj$\1  
fGS5{dti  
struts.ui.theme &v9*D`7L  
      The default UI template theme 5q4sxY9T  
      默认的UI template主题 t M?3oO  
:j feY  
struts.url.http.port uU_lC5A|  
      The HTTP port used by Struts URLs ;%wQnhg  
      设置http端口 6+`+$s0  
_=l8e-6r  
struts.url.https.port whFaL}2C  
      The HTTPS port used by Struts URLs 12r]"?@|s  
      设置https端口 jyB^a;-  
1 ? be  
struts.url.includeParams f/+UD-@%m  
      The default includeParams method to generate Struts URLs OwRH :l  
      在url中产生 默认的includeParams 7HfA{.|m  
ip.aM#  
${fJ]  
struts.velocity.configfile En-BT0o  
      The Velocity configuration file path (Klvctoy  
      velocity配置文件路径 t$+[(}@ +  
Z ,4G'[d  
struts.velocity.contexts 86+nFk  
      List of Velocity context names bz$)@gLc  
      velocity的context列表 a2Q_K2t  
4FLL*LCNX  
c*R?eLt/  
struts.velocity.manager.classname 3>O=d>  
      org.apache.struts2.views.velocity.VelocityManager implementation class (.[HE ~ s?  
      org.apache.struts2.views.velocity.VelocityManager接口名 U&x)Q  
^q{=mf`  
struts.velocity.toolboxlocation !| ObNS  
      The location of the Velocity toolbox Sy\ec{$+V]  
      velocity工具盒的位置 o& -c5X4  
struts.xslt.nocache hHXTSk2  
      Whether or not XSLT templates should not be cached (.D|%P  
      是否XSLT模版应该被缓存 1:{BC2P  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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