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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4@6!E^  
K\5'pp1  
struts.action.extension Y 9rW_m@B  
      The URL extension to use to determine if the request is meant for a Struts action lWj|7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K9v@L6pY=  
hX#s3)87  
struts.configuration J)O1)fR  
      The org.apache.struts2.config.Configuration implementation class 3e UTV<!  
        org.apache.struts2.config.Configuration接口名 _D9` L&X}  
^4@~\#$z  
struts.configuration.files vywd&7gK  
      A list of configuration files automatically loaded by Struts Do@:|n  
      struts自动加载的一个配置文件列表  SJY<#_b  
R["2kEF  
struts.configuration.xml.reload 5m,{?M`  
      Whether to reload the XML configuration or not )zK`*Fa az  
      是否加载xml配置(true,false) neW_mu;~Z  
8y;W+I(71  
struts.continuations.package <1tFwC|4BJ  
      The package containing actions that use Rife continuations *hI  
      含有actions的完整连续的package名称 A|sTnhp~  
i_OoR"J%  
struts.custom.i18n.resources fm2,Mx6  
      Location of additional localization properties files to load %1Gat6V<'  
      加载附加的国际化属性文件(不包含.properties后缀) [uxhdR`T  
m=&j2~<i  
struts.custom.properties ODn6%fp%  
      Location of additional configuration properties files to load rK%<2i  
      加载附加的配置文件的位置 ajIgL<x  
5Z{h!}Y  
%AbA(F  
struts.devMode J{$+\  
      Whether Struts is in development mode or not +RexQE  
      是否为struts开发模式 x2B~1edf  
Sbub|  
struts.dispatcher.parametersWorkaround #W#GI"K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic O_8ERxj g]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aVv$k  
X E]YKJ?|k  
struts.enable.DynamicMethodInvocation $Xf1|!W%a%  
      Allows one to disable dynamic method invocation from the URL 6x KbK1W  
        允许动态方法调用 }>vf(9sF`  
wD>tR SW  
struts.freemarker.manager.classname ,<$6-3sC-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;2"#X2B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A:Z$i5%'  
3ThCY`  
struts.i18n.encoding 7 }`c:u~j  
      The encoding to use for localization messages loVUB'OSv  
      国际化信息内码 [Af&K22M(X  
&wRdUIc  
struts.i18n.reload G1MuH%4  
      Whether the localization messages should automatically be reloaded Z&W|O>QTl  
      是否国际化信息自动加载 mIVnc`3s  
P<b.;Oz__-  
struts.locale )'8DK$.  
      The default locale for the Struts application ,)mqd2)+"  
      默认的国际化地区信息 6|U0"C#]  
BCV<( @c  
struts.mapper.class dj*%^cI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }IvJIr  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;\7TQ9z  
6'y+Ev$9  
struts.multipart.maxSize }49X  N  
      The maximize size of a multipart request (file upload) ~S}>|q$  
      multipart请求信息的最大尺寸(文件上传用) 6zs&DOB  
%&KJtKe  
struts.multipart.parser "?_adot5v  
      The org.apache.struts2.dispatcher.multipart. $Z)Dvy|  
      MultiPartRequest parser implementation for a multipart request (file upload) XQ.czj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $Gb] K{e  
.+3= H@8h  
|+Z, 7~!  
struts.multipart.saveDir l c)*HYqU  
      The directory to use for storing uploaded files ^.Cfa  
      设置存储上传文件的目录夹 03?TT,y$  
=jdO2MgSg*  
struts.objectFactory xB{0lI  
      The com.opensymphony.xwork2.ObjectFactory implementation class }OO(uC2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vlCjh! x  
o Xwoi!  
struts.objectFactory.spring.autoWire KN U/Kc#  
      Whether Spring should autoWire or not U#G[#sd> K  
      是否自动绑定Spring $|.x!sA  
j"o`K}C  
struts.objectFactory.spring.useClassCache J 2%^%5&0  
      Whether Spring should use its class cache or not |M|'S~z  
      是否spring应该使用自身的cache !!&H'XEJV  
Ggy_ Ctu  
struts.objectTypeDeterminer (gBP`*2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cSCO7L2E18  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .58>KBj(  
 FRI<A8  
struts.serve.static.browserCache $Ch!]lJA  
If static content served by the Struts filter should set browser caching header properties or not \UFno$;mA  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h.c<A{[I6c  
 r(pp =  
struts.serve.static KL]K< A  
      Whether the Struts filter should serve static content or not jLC,<V*  
      是否struts过滤器应该提供静态内容 P<GY"W+r R  
TF 6_4t6  
struts.tag.altSyntax Hno@  
      Whether to use the alterative syntax for the tags or not N'R^S98x  
      是否可以用替代的语法替代tags ~/1kCZB  
Z"#ysC  
struts.ui.templateDir tr"iluwGc  
      The directory containing UI templates >XP]NY}Po[  
      UI templates的目录夹 i'J.c4  
kRNr`yfN  
struts.ui.theme 1\q(xka{  
      The default UI template theme c38RE,4U  
      默认的UI template主题 }Q_IqI[7  
yrO'15TB  
struts.url.http.port FT73P0!8.  
      The HTTP port used by Struts URLs i_ws*7B<  
      设置http端口 z<c^<hE:l  
/ 3:R{9S%  
struts.url.https.port BDZB;DPb  
      The HTTPS port used by Struts URLs eKn&`\j6  
      设置https端口 %)*!(%\S*3  
W"4E0!r  
struts.url.includeParams {EbR =  
      The default includeParams method to generate Struts URLs STu!v5XY}-  
      在url中产生 默认的includeParams g[Ah> 5  
;[WW,,!Y  
e/lfT?J\  
struts.velocity.configfile '1;Q'-/J  
      The Velocity configuration file path aWek<Y~+  
      velocity配置文件路径 @uz&]~+`  
yCkfAx8 ]  
struts.velocity.contexts '-3AWBWI1  
      List of Velocity context names !>b>"\b  
      velocity的context列表 i`7{q~d=  
iaXNf ])?  
P{5p'g ,  
struts.velocity.manager.classname t,= ta{ a  
      org.apache.struts2.views.velocity.VelocityManager implementation class c#nFm&}dm  
      org.apache.struts2.views.velocity.VelocityManager接口名 kCxmC<34  
'p-jMD}O  
struts.velocity.toolboxlocation dgpo4'c}  
      The location of the Velocity toolbox I<|)uK7  
      velocity工具盒的位置 (: 2:_FL  
struts.xslt.nocache VaQ>g*(I  
      Whether or not XSLT templates should not be cached ;%2/  
      是否XSLT模版应该被缓存 m8$6FN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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