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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S`vt\g$ dN  
(l%?YME  
struts.action.extension GeJ}myD O  
      The URL extension to use to determine if the request is meant for a Struts action ,< g%}P/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2Vti|@JYp  
/k/X[/WO  
struts.configuration m}z6Bbis0  
      The org.apache.struts2.config.Configuration implementation class -F?97&G$  
        org.apache.struts2.config.Configuration接口名 ^ ##j {h7  
a]*{!V{$i  
struts.configuration.files 9}QIqH\p  
      A list of configuration files automatically loaded by Struts z6)N![ X  
      struts自动加载的一个配置文件列表 OH06{I>;  
Lk|`\I T  
struts.configuration.xml.reload f+9WGNpw  
      Whether to reload the XML configuration or not K+|XI|1p  
      是否加载xml配置(true,false) pyV`O[  
HWV A5E[`Y  
struts.continuations.package ogIu\kiZ  
      The package containing actions that use Rife continuations EmaS/]X[  
      含有actions的完整连续的package名称 c1E{J <pZ  
Yeg<MrS4D  
struts.custom.i18n.resources J.R]) &CB  
      Location of additional localization properties files to load MB;rxUbhe3  
      加载附加的国际化属性文件(不包含.properties后缀) nl}LT/N  
|yz[mP*;o  
struts.custom.properties :|9vMM^$  
      Location of additional configuration properties files to load ;"cQ)=s9Y  
      加载附加的配置文件的位置 SZTn=\  
 p0W<K  
v' t'{g%  
struts.devMode S(CkA\[rz  
      Whether Struts is in development mode or not SZXSVz0j  
      是否为struts开发模式 cO]w*Hti  
rmggP(  
struts.dispatcher.parametersWorkaround ' ds2\gN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .u\$wJ9Ai  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6fw7\u  
C!:Lk,Z  
struts.enable.DynamicMethodInvocation =COQv=GT  
      Allows one to disable dynamic method invocation from the URL qv(3qY  
        允许动态方法调用 \ n 2MP  
:rM2G@{  
struts.freemarker.manager.classname |$ ^3 5F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AS]8rH  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0 \ U*  
a>l,H#w*vW  
struts.i18n.encoding 2OpA1$n6  
      The encoding to use for localization messages sSfP.R  
      国际化信息内码 )PvnB=wy  
7 q!==P=  
struts.i18n.reload f/c&Ya(D~  
      Whether the localization messages should automatically be reloaded C$0u-Nx8  
      是否国际化信息自动加载 bM"?^\a&Q  
AmC9qk8Q  
struts.locale 3\4e{3$  
      The default locale for the Struts application vv&< 7[  
      默认的国际化地区信息 2H w7V3q  
e|:\Ps`8  
struts.mapper.class ]d[e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ce-= -  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )C"ixZ>2xQ  
$1B?@~&  
struts.multipart.maxSize 0R? @JC  
      The maximize size of a multipart request (file upload) x*:VE57,z  
      multipart请求信息的最大尺寸(文件上传用) EUs9BJFP  
:l"B NT[/  
struts.multipart.parser KDb j C'3  
      The org.apache.struts2.dispatcher.multipart. "Y^j=?1k  
      MultiPartRequest parser implementation for a multipart request (file upload) i7- i!`<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eCR^$z=c  
[-[59 H[6)  
rR":}LA^d  
struts.multipart.saveDir 1K#[Ef4  
      The directory to use for storing uploaded files st* sv}  
      设置存储上传文件的目录夹 !&Q?ASJH  
r'yNc&~  
struts.objectFactory ;_SSR8uHv  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZHjL8Iq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %y9sC1T  
L7{}`O/g7  
struts.objectFactory.spring.autoWire 6)0.q|Q  
      Whether Spring should autoWire or not ;v\s7y  
      是否自动绑定Spring M.,DXEZT  
q 8sfG;)  
struts.objectFactory.spring.useClassCache sgP{A}4 W  
      Whether Spring should use its class cache or not CR23$<FC  
      是否spring应该使用自身的cache @Ol(:{<  
O$r/ {{I.  
struts.objectTypeDeterminer n= 4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FS=yc.Q_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xi{ r-D8Z  
sgi5dQ  
struts.serve.static.browserCache +kd1q  
If static content served by the Struts filter should set browser caching header properties or not smfI+Z S"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Nc(CGl:  
mST8+R@S  
struts.serve.static C{m%]jKH  
      Whether the Struts filter should serve static content or not [u!n=ev  
      是否struts过滤器应该提供静态内容 ?2#'>B  
Cp/f18zO  
struts.tag.altSyntax 2? yo  
      Whether to use the alterative syntax for the tags or not Z@dVK`nD  
      是否可以用替代的语法替代tags wH!$TAZ:Yw  
j24 3oD  
struts.ui.templateDir 66F?exr  
      The directory containing UI templates 5b/ ~]v  
      UI templates的目录夹 m-azd ~r[  
l 3p :}A  
struts.ui.theme ~Z/,o)  
      The default UI template theme NW5OLa")J<  
      默认的UI template主题 Q;VuoHj!  
6 /YJA*  
struts.url.http.port Le?g ,c  
      The HTTP port used by Struts URLs 3%5YUG@  
      设置http端口 (eU4{X7  
V:L%GWU  
struts.url.https.port DFWO5Y_  
      The HTTPS port used by Struts URLs h_#=f(.'j  
      设置https端口 S=-$:65  
uU3A,-{-  
struts.url.includeParams ,.0bE 9\o  
      The default includeParams method to generate Struts URLs `WXlq#:K  
      在url中产生 默认的includeParams h-1?c\Qq:  
=3(Auchl$Y  
ou-UR5  
struts.velocity.configfile l90"1I A  
      The Velocity configuration file path :!g|pd[{ag  
      velocity配置文件路径 v =y 2  
;DK%!."%  
struts.velocity.contexts DNq(\@x[!  
      List of Velocity context names s*la`(x  
      velocity的context列表 l[:Aq&[o3  
& V>rq'~;  
1}a4AGAp  
struts.velocity.manager.classname R]X 0D.  
      org.apache.struts2.views.velocity.VelocityManager implementation class vb]kh _  
      org.apache.struts2.views.velocity.VelocityManager接口名 uEJ8Lmi  
xA(z/%  
struts.velocity.toolboxlocation :6lvX$  
      The location of the Velocity toolbox  iiQn/%  
      velocity工具盒的位置 !5lV#w!vb  
struts.xslt.nocache an"~n`g  
      Whether or not XSLT templates should not be cached NCkI[d]B@  
      是否XSLT模版应该被缓存 )pHlWi|h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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