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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p ^T0(\1  
Hb IRE  
struts.action.extension `2 Vc*R  
      The URL extension to use to determine if the request is meant for a Struts action }7k+tJ<   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fn$EP:>  
+.5 /4?  
struts.configuration #O qfyY!  
      The org.apache.struts2.config.Configuration implementation class G[)QGZ}8b  
        org.apache.struts2.config.Configuration接口名 HLa|yc B%  
Id|38   
struts.configuration.files 1+v)#Wj  
      A list of configuration files automatically loaded by Struts ;L++H5Kz6  
      struts自动加载的一个配置文件列表 -bduB@#2d  
W|; .G9  
struts.configuration.xml.reload #%Uk}5;-  
      Whether to reload the XML configuration or not  !3}vl Y1  
      是否加载xml配置(true,false) O0c#-K.f  
oj[Wzeg%  
struts.continuations.package V#=o<  
      The package containing actions that use Rife continuations &.;tdT7  
      含有actions的完整连续的package名称 A)&OR]0[  
5q}680s9+  
struts.custom.i18n.resources u:NSPAD)  
      Location of additional localization properties files to load I[G<aI!  
      加载附加的国际化属性文件(不包含.properties后缀) D8qZh1w%A|  
5&\Q0SX(~  
struts.custom.properties #8QQZdC8`  
      Location of additional configuration properties files to load Jah~h44&  
      加载附加的配置文件的位置 kuqf(  
RL SP?o2J  
+m]$P,yMt  
struts.devMode St^s"A  
      Whether Struts is in development mode or not ^LX1&yT@  
      是否为struts开发模式 O#uTwnW  
H~e;S#3_v  
struts.dispatcher.parametersWorkaround 2D,9$ 0k_]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FhHcS>]:.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V)oUSHillH  
![P1Qv p  
struts.enable.DynamicMethodInvocation ?`3` azfM  
      Allows one to disable dynamic method invocation from the URL m = "N4!  
        允许动态方法调用 f)~urGazS  
DI"mi1ObE  
struts.freemarker.manager.classname 1Y_Cd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A90o X1l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KAT4C 4=,  
7kp$C?7K  
struts.i18n.encoding 2r^|  
      The encoding to use for localization messages hqmKUlo  
      国际化信息内码 ^?VYE26  
U5[xW  
struts.i18n.reload 0j F~cV  
      Whether the localization messages should automatically be reloaded !g-|@W  
      是否国际化信息自动加载 %tT&/F  
! jm>  
struts.locale oDXUa5x  
      The default locale for the Struts application gT 22!  
      默认的国际化地区信息 RHZ5f0b4L  
ri<E[8\  
struts.mapper.class T XWi5f[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a2 e-Q({  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GNlP]9wX  
%(79;#2`  
struts.multipart.maxSize 2j+v\pjYC  
      The maximize size of a multipart request (file upload) }Zu>?U  
      multipart请求信息的最大尺寸(文件上传用) @2yi%_ ]h  
sk.<|-(o  
struts.multipart.parser <O>1Y09C/  
      The org.apache.struts2.dispatcher.multipart. ?kqo~twJ  
      MultiPartRequest parser implementation for a multipart request (file upload) ,W;\6"Iwx'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w O;\,zU  
Kz:g9  
5zWxI]4d\  
struts.multipart.saveDir }SR}ET&z  
      The directory to use for storing uploaded files VImcW;Xa  
      设置存储上传文件的目录夹 X>(?  
N{U``LV  
struts.objectFactory @kw#\%Uz  
      The com.opensymphony.xwork2.ObjectFactory implementation class %6}S1fuA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7aUk?Hf  
{+_ pyL  
struts.objectFactory.spring.autoWire "T|%F D&[  
      Whether Spring should autoWire or not !/^i\)j>](  
      是否自动绑定Spring *,A?lX,9A  
dlsVE~_G  
struts.objectFactory.spring.useClassCache E5(\/;[*`  
      Whether Spring should use its class cache or not k>I[U}h  
      是否spring应该使用自身的cache 6r4o47_t8#  
NHG+l)y:  
struts.objectTypeDeterminer  I0trHrX9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G%_6" s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +YVnA?r?  
}J"}5O2,b  
struts.serve.static.browserCache |r[yMI|VR  
If static content served by the Struts filter should set browser caching header properties or not 2 UU5\ jV6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g!;k$`@{E'  
Mn7nS:  
struts.serve.static k7yQEU  
      Whether the Struts filter should serve static content or not 1bs 8fUPB3  
      是否struts过滤器应该提供静态内容 Rd7Xs  
,iY/\ U''  
struts.tag.altSyntax @5+ JXD  
      Whether to use the alterative syntax for the tags or not ]:m>pI*z.  
      是否可以用替代的语法替代tags d~1Nct$:  
|-GmWSK_  
struts.ui.templateDir mZDL=p  
      The directory containing UI templates 6Y<'Lyg/  
      UI templates的目录夹 _R-[*ucq  
L5=Tj4`  
struts.ui.theme (;T$[ru`  
      The default UI template theme !{tkv4  
      默认的UI template主题 PYX]ld.E  
WX$mAQDV  
struts.url.http.port 28J ; 9  
      The HTTP port used by Struts URLs 4)./d2/E  
      设置http端口 bI/d(Q%#<  
*$mDu,'8  
struts.url.https.port lX$6U| !  
      The HTTPS port used by Struts URLs G66A]FIg  
      设置https端口 8@S7_x  
EkS7j>:  
struts.url.includeParams q|,cMPS3  
      The default includeParams method to generate Struts URLs HO%atE$>  
      在url中产生 默认的includeParams >Q':+|K}  
jkw:h0hX  
M il ![A1  
struts.velocity.configfile +Gv{Apd"  
      The Velocity configuration file path 2gLa4B-  
      velocity配置文件路径 &(a#I]`9M  
a'=C/ s+  
struts.velocity.contexts ^{\gD23  
      List of Velocity context names 7DaMuh~<  
      velocity的context列表 c#X9d8>  
+rse,b&U(  
_X5@%/Vz  
struts.velocity.manager.classname 9fp@d  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2]W"sT[  
      org.apache.struts2.views.velocity.VelocityManager接口名 a-w=LpVM  
Ba==Ri8$  
struts.velocity.toolboxlocation Gu} `X23  
      The location of the Velocity toolbox Ln/6]CMl  
      velocity工具盒的位置 >Hb>wlYR  
struts.xslt.nocache ." 9t<<!  
      Whether or not XSLT templates should not be cached s6Ox!)&  
      是否XSLT模版应该被缓存 Zo`Ku+RL2'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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