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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ui 2RTAb  
BM&'3K_y  
struts.action.extension Ds}6{']K  
      The URL extension to use to determine if the request is meant for a Struts action 8#Z$}?W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a}>GQu*y  
N,[M8n,  
struts.configuration }f-rWe{gs>  
      The org.apache.struts2.config.Configuration implementation class sL/Lw WH  
        org.apache.struts2.config.Configuration接口名 aO<d`DTyJ  
7H >dv'  
struts.configuration.files 9h0|^ttF  
      A list of configuration files automatically loaded by Struts ;F0A\5I  
      struts自动加载的一个配置文件列表 pwZ &2&|  
[e^i".  
struts.configuration.xml.reload [6|8Gx :  
      Whether to reload the XML configuration or not }<Me%`x"  
      是否加载xml配置(true,false) *M`[YG19!e  
rW6w1  
struts.continuations.package iTK1I0  
      The package containing actions that use Rife continuations 'Gt`3qG  
      含有actions的完整连续的package名称 D 3HB`{  
Hd2_Cg FB  
struts.custom.i18n.resources EhVnt#`Si  
      Location of additional localization properties files to load ;zJ_apZ:{  
      加载附加的国际化属性文件(不包含.properties后缀) X|q0m3jt  
fsmH];"GD  
struts.custom.properties eBN>|mE4N  
      Location of additional configuration properties files to load 0y ;gi3W  
      加载附加的配置文件的位置 eb8_guZ  
H{$yy)@F  
 OB^  
struts.devMode hs*:!&E  
      Whether Struts is in development mode or not ^IId =V=2  
      是否为struts开发模式 r-0 7!A  
@v'<~9vG  
struts.dispatcher.parametersWorkaround V('b|gsEo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i)p__Is  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #,9|Hr%  
e,4G:V'NX  
struts.enable.DynamicMethodInvocation w##Fpv<m  
      Allows one to disable dynamic method invocation from the URL 'qD9k J`  
        允许动态方法调用 {38aaf|'/  
?@,:\ ,G  
struts.freemarker.manager.classname tO0+~Wm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JjCf<ktE.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KWYG\#S0]  
N1$P6ZF  
struts.i18n.encoding eyG.XAP  
      The encoding to use for localization messages 0jS/U|0  
      国际化信息内码 (Zn\S*_@/  
hh{liS% 10  
struts.i18n.reload \r 2qH0B  
      Whether the localization messages should automatically be reloaded  \X`P W  
      是否国际化信息自动加载 g\Z k*5(  
-I*A  `M  
struts.locale D0P% .r"v  
      The default locale for the Struts application {+EPE2X=C  
      默认的国际化地区信息 utE:HD.PN  
.G]# _U  
struts.mapper.class S ] &->5"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !L _ SHlU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 izw}25SW  
&|4Uo5qS=Z  
struts.multipart.maxSize nX S%>1o,  
      The maximize size of a multipart request (file upload) Y[DKj!v  
      multipart请求信息的最大尺寸(文件上传用) ]3,0 8JW=  
? `KOW  
struts.multipart.parser xRUYJ=|oh  
      The org.apache.struts2.dispatcher.multipart. kA_ 3o)J  
      MultiPartRequest parser implementation for a multipart request (file upload) *J=ol  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Uu+C<j&-  
r;C\eN  
t;]egk  
struts.multipart.saveDir yDC97#%3u  
      The directory to use for storing uploaded files /z5lxS@#  
      设置存储上传文件的目录夹 c v 9 6F  
w-$w  
struts.objectFactory SS~Q;9o  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4:']'E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^IH1@  
hl:eF:'hm  
struts.objectFactory.spring.autoWire L'Zud,JKg  
      Whether Spring should autoWire or not pxx(BE  
      是否自动绑定Spring H~i],WD  
'qJ-eQ7e  
struts.objectFactory.spring.useClassCache 0 l@P]_qq`  
      Whether Spring should use its class cache or not ];;w/$zke  
      是否spring应该使用自身的cache 6hK"k  
BT3O_X`u  
struts.objectTypeDeterminer >G2-kL_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NO^t/(Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @W8}N|jek  
%ZyPK,("  
struts.serve.static.browserCache :$aW@?zAY  
If static content served by the Struts filter should set browser caching header properties or not 0)5Sx /5'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6 W;k IoB  
kVnyX@  
struts.serve.static 4d G-  
      Whether the Struts filter should serve static content or not ]ECZU   
      是否struts过滤器应该提供静态内容 R+0"B  
dY<#a,eS  
struts.tag.altSyntax r5!M;hU1j  
      Whether to use the alterative syntax for the tags or not }27Vh0v  
      是否可以用替代的语法替代tags X&.$/xaT  
8$UZL  
struts.ui.templateDir j#P4Le[t  
      The directory containing UI templates \)ZX4rs{8  
      UI templates的目录夹 HF+fk*_Q  
Y&f[2+?2NK  
struts.ui.theme y%bqeo L~  
      The default UI template theme OIty ]c  
      默认的UI template主题 ' ,`4 U F  
8M+F!1-#  
struts.url.http.port !a(qqZ|s  
      The HTTP port used by Struts URLs h) PB  
      设置http端口 BC{J3<0bf@  
!9LAXM  
struts.url.https.port F>kn:I"X)  
      The HTTPS port used by Struts URLs `AHNk7 t=  
      设置https端口 k`mrRs  
s*/ G- lY  
struts.url.includeParams UN?T}p- oF  
      The default includeParams method to generate Struts URLs dzNaow*0&V  
      在url中产生 默认的includeParams {C0^D*U:  
a 8hv.43  
JvJ!\6Q@  
struts.velocity.configfile ajW$d!  
      The Velocity configuration file path IA 9v1:>  
      velocity配置文件路径 7K]U |K#  
2a(yR >#  
struts.velocity.contexts o p5^9`"  
      List of Velocity context names $_7d! S"  
      velocity的context列表 9 roth  
$CwTNm?  
hPi :31-0  
struts.velocity.manager.classname !na0Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class u:H 3.5)%  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]#-/i2-K  
p C2c(4  
struts.velocity.toolboxlocation `MYKXBM  
      The location of the Velocity toolbox JvWs/AG1  
      velocity工具盒的位置 grfdvN  
struts.xslt.nocache q'AnI$!  
      Whether or not XSLT templates should not be cached 19w,'}CGk  
      是否XSLT模版应该被缓存 {9|$%4kRl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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