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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }SfbCa)UO  
MZ4c{@Tg  
struts.action.extension pbk$o{$`W  
      The URL extension to use to determine if the request is meant for a Struts action 4 gBp8*2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4ne5=YY *  
9<1F[SS<s9  
struts.configuration nvq3*  
      The org.apache.struts2.config.Configuration implementation class V%ii3  
        org.apache.struts2.config.Configuration接口名 IyUdZ,ba  
Zj9c9  
struts.configuration.files C*kK)6v `  
      A list of configuration files automatically loaded by Struts Kuw^qX"  
      struts自动加载的一个配置文件列表 ocRdbmS  
[3>GGX[Ic  
struts.configuration.xml.reload [0;buVU.  
      Whether to reload the XML configuration or not /R8p]  
      是否加载xml配置(true,false) GF<[}  
V2d,ksKwn  
struts.continuations.package m@G i6   
      The package containing actions that use Rife continuations <^R{U&Z@  
      含有actions的完整连续的package名称 D{7w!z  
DC4C$AyW r  
struts.custom.i18n.resources ^4Uw8-/9  
      Location of additional localization properties files to load '?5j[:QY@  
      加载附加的国际化属性文件(不包含.properties后缀) -apXI.  
tD=@SX'Y  
struts.custom.properties L=!of{4Z(}  
      Location of additional configuration properties files to load NTs7KSgZ  
      加载附加的配置文件的位置 vp)Vb^K>  
/YKMKtE  
p.JXS n  
struts.devMode Z=z%$l  
      Whether Struts is in development mode or not J >0b1  
      是否为struts开发模式 9q[;u[A8^  
W[''Cc.  
struts.dispatcher.parametersWorkaround !7p}C-RZp  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2b@tj 5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #=c`of6  
^q[gxuL_  
struts.enable.DynamicMethodInvocation 2a=sm1?  
      Allows one to disable dynamic method invocation from the URL PD[z#T!'  
        允许动态方法调用 kyYLP"oB=  
+g*k*e>l  
struts.freemarker.manager.classname 7{kP}?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  ht97s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uXZg1 F)  
[3/VCYje  
struts.i18n.encoding ]wn/BG)  
      The encoding to use for localization messages N;sm*+r  
      国际化信息内码 QrYa%D+  
eCbf9B  
struts.i18n.reload HM[klH]s=  
      Whether the localization messages should automatically be reloaded ]1`g^Z@ 0  
      是否国际化信息自动加载 "9y( }  
</zXA$m  
struts.locale Y g|lq9gD  
      The default locale for the Struts application lTRl"`@S  
      默认的国际化地区信息 jQs>`P-CM  
?,knit2x  
struts.mapper.class e)^j+ l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6cS>bl  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X* eW#|$\  
Vzlh+R>c  
struts.multipart.maxSize uBnoQ~Qd[z  
      The maximize size of a multipart request (file upload) K!z`  
      multipart请求信息的最大尺寸(文件上传用) p]G3)s@>  
JgRYljQi2  
struts.multipart.parser k;y w#Af8  
      The org.apache.struts2.dispatcher.multipart. 9/o vKpY  
      MultiPartRequest parser implementation for a multipart request (file upload) R3.*dqo$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `8_z!)  
TYns~X_PR  
)Di \_/G  
struts.multipart.saveDir L5fuM]G`  
      The directory to use for storing uploaded files g(x9S'H3l  
      设置存储上传文件的目录夹 Of}|ib^t  
k\r(=cex6  
struts.objectFactory ?knYY>Kzh1  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;T+pu>)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j+4H}XyE  
H U+ I  
struts.objectFactory.spring.autoWire W !}{$  
      Whether Spring should autoWire or not 62'1X"  
      是否自动绑定Spring yl&UM qI(  
s0u{d qP  
struts.objectFactory.spring.useClassCache F _3:bX  
      Whether Spring should use its class cache or not AvJ,SQt  
      是否spring应该使用自身的cache ?Ke eHMu  
wEW4gz{s  
struts.objectTypeDeterminer !]` #JAL7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class VaONd0Z I  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zy'D!db`Z  
9nSWE W  
struts.serve.static.browserCache wBk@F5\<  
If static content served by the Struts filter should set browser caching header properties or not W;6vpPhg#!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U977#M Xf  
)~)*=u/  
struts.serve.static 2;3f=$3  
      Whether the Struts filter should serve static content or not Kn;D?ioY  
      是否struts过滤器应该提供静态内容 o(kM9G|  
E6B!+s!]  
struts.tag.altSyntax 9O.YOiW  
      Whether to use the alterative syntax for the tags or not P$GjF-!:  
      是否可以用替代的语法替代tags TtD@'QXq  
0IkM  
struts.ui.templateDir cE'L% Z  
      The directory containing UI templates ;lX(}2tXW  
      UI templates的目录夹 E.bi05l  
sW#JjtK  
struts.ui.theme nz.{P@[Qk  
      The default UI template theme ^D^JzEy'?C  
      默认的UI template主题 $ <8~k^  
OFkNl}D  
struts.url.http.port YcX/{L[9o  
      The HTTP port used by Struts URLs Ter :sge7  
      设置http端口 zvc`3  
zSvgKmNY  
struts.url.https.port =:,xxqy  
      The HTTPS port used by Struts URLs e-hjC6Q U  
      设置https端口 a&{X!:X  
q=Zr>I;(Ks  
struts.url.includeParams mog[pu:!,  
      The default includeParams method to generate Struts URLs 2S3lsp5!  
      在url中产生 默认的includeParams >O9o,o/6R  
d5 Edu44  
3uu~p!2  
struts.velocity.configfile <bck~E  
      The Velocity configuration file path &QX`NO 6  
      velocity配置文件路径 7}O.wUKw%  
D#A~Nbc  
struts.velocity.contexts }ArpPU :]  
      List of Velocity context names RkeltE~u  
      velocity的context列表 b^c9po  
f$HH:^#  
YZ$ZcfXDW  
struts.velocity.manager.classname NG&_?|OmV  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0yM[Z':i'{  
      org.apache.struts2.views.velocity.VelocityManager接口名 bAk&~4Y_"  
T^<>Xiam  
struts.velocity.toolboxlocation r\6"5cQ=  
      The location of the Velocity toolbox $h[Q Q-  
      velocity工具盒的位置 6 9y;`15  
struts.xslt.nocache S{Hx]\  
      Whether or not XSLT templates should not be cached gy: %l  
      是否XSLT模版应该被缓存 g.JN_t5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五