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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HcV"X,7S  
(BfgwC)  
struts.action.extension sx51X^d  
      The URL extension to use to determine if the request is meant for a Struts action ?6jkI2w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K/=_b<  
:`2=@.  
struts.configuration ZRVT2VfN  
      The org.apache.struts2.config.Configuration implementation class 15o?{=b[  
        org.apache.struts2.config.Configuration接口名 deixy. |  
1, ~SS  
struts.configuration.files %ck]S!}6  
      A list of configuration files automatically loaded by Struts 2hQ>:  
      struts自动加载的一个配置文件列表 B0!"A  
jDN ]3Y`  
struts.configuration.xml.reload `o?Ph&p}  
      Whether to reload the XML configuration or not 1=a>f "cyf  
      是否加载xml配置(true,false) VZ](uFBY  
1`9xIm*9w  
struts.continuations.package !i%"7tQ3$  
      The package containing actions that use Rife continuations zyg  }F  
      含有actions的完整连续的package名称 e^Ky<*Y  
z)=+ F]  
struts.custom.i18n.resources &o97u4xi  
      Location of additional localization properties files to load ,qrQ"r9  
      加载附加的国际化属性文件(不包含.properties后缀) GS Q/NYK  
u% n*gcY  
struts.custom.properties 3^ ~KB'RZ  
      Location of additional configuration properties files to load V{&rQ@{W  
      加载附加的配置文件的位置 `TPOCxM Mo  
m7GR[MR  
u=/CRjot  
struts.devMode U*P. :BvG  
      Whether Struts is in development mode or not *(>}Y  
      是否为struts开发模式 &gE 75B  
mA@Me7m}  
struts.dispatcher.parametersWorkaround ?EK?b s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 13&0rLS  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  g}U3y'  
la?Wnw  
struts.enable.DynamicMethodInvocation Q\,o :ZU_  
      Allows one to disable dynamic method invocation from the URL TbF4/T1b  
        允许动态方法调用 |xvy')(b  
5 `RiS]IO]  
struts.freemarker.manager.classname V$rlA' +1v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JQ-gn^tsy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~w;]c_{.b  
d4 (/m_HMu  
struts.i18n.encoding ~E^,=4  
      The encoding to use for localization messages "AhTH.ZP  
      国际化信息内码 G>+1*\c  
NAzX". g  
struts.i18n.reload ulJX1I=|p  
      Whether the localization messages should automatically be reloaded n%\ /J  
      是否国际化信息自动加载 2{.QjYw^  
hw~a:kD  
struts.locale yj(vkifEB  
      The default locale for the Struts application 5+jf/}t A  
      默认的国际化地区信息 [ dE.[  
@Ehn(}  
struts.mapper.class S"hTE7`   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S$^ RbI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =@5x"MOz  
Iu35#j  
struts.multipart.maxSize E|$Oha[  
      The maximize size of a multipart request (file upload) vHE^"l5v  
      multipart请求信息的最大尺寸(文件上传用) K!mOr  
&h,5:u  
struts.multipart.parser ,*@AX>  
      The org.apache.struts2.dispatcher.multipart. on7I l  
      MultiPartRequest parser implementation for a multipart request (file upload) oq_6L\ ~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EIf ~dOgH  
Q!FLR>8  
#s%-INcR  
struts.multipart.saveDir %&\jOq~  
      The directory to use for storing uploaded files Lh-`OmO0>F  
      设置存储上传文件的目录夹 WmQ 01v  
(?b@b[D~4  
struts.objectFactory A;u"<KG?  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5]1h8PW!Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $.489x+'Z  
xT)psM'CL  
struts.objectFactory.spring.autoWire <p?&udqD  
      Whether Spring should autoWire or not  X}6#II  
      是否自动绑定Spring *$M'`vj:  
[!VOw@uz  
struts.objectFactory.spring.useClassCache U#o'H @  
      Whether Spring should use its class cache or not <d7V<&@o=  
      是否spring应该使用自身的cache 7.+#zyF  
9=/N|m8.  
struts.objectTypeDeterminer [;b=A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kV Rn`n0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -n? g~(/P  
.M4IGOvOS  
struts.serve.static.browserCache OW(&s,|6x  
If static content served by the Struts filter should set browser caching header properties or not Ih[+K#t+E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Zzl,gy70  
2`= 6%s  
struts.serve.static :;!\vfZbU  
      Whether the Struts filter should serve static content or not 'iLH `WE  
      是否struts过滤器应该提供静态内容 ;bX4(CMe &  
H2-28XGc  
struts.tag.altSyntax  oAZh~~tp  
      Whether to use the alterative syntax for the tags or not te4= S  
      是否可以用替代的语法替代tags O8N[Jl  
ehAu^^Q>  
struts.ui.templateDir Sb:T*N0gS  
      The directory containing UI templates I6LD)?  
      UI templates的目录夹 SgE/!+{  
L{ymI) Y^  
struts.ui.theme XO F1c3'H  
      The default UI template theme u.|~$yP.!  
      默认的UI template主题 EC?Efc+O  
i(6J>^I  
struts.url.http.port dy>|c j  
      The HTTP port used by Struts URLs n!He&  
      设置http端口 RX2{g^V7  
pD@zmCU  
struts.url.https.port i$-#dc2qY  
      The HTTPS port used by Struts URLs &VWlt2-R0h  
      设置https端口 Cv=GZGn-  
b]]N{: I  
struts.url.includeParams ^Dx#7bsDZR  
      The default includeParams method to generate Struts URLs ]wuy_+$  
      在url中产生 默认的includeParams +TRy:e  
cUDgM  
!@ YXZ  
struts.velocity.configfile r5/R5Ga^  
      The Velocity configuration file path 5GAy "Xd  
      velocity配置文件路径 swpnuuC-  
"L2m-e6  
struts.velocity.contexts ;' e@t8i6  
      List of Velocity context names czBi Dk4  
      velocity的context列表 xUYow  
#cwCocw  
Nl8 gK{  
struts.velocity.manager.classname /CT(k1>  
      org.apache.struts2.views.velocity.VelocityManager implementation class R.1Xst &i  
      org.apache.struts2.views.velocity.VelocityManager接口名 M} .b" ljZ  
=J |sbY"]  
struts.velocity.toolboxlocation <5Mrp"C[i  
      The location of the Velocity toolbox }G1&]Wt_  
      velocity工具盒的位置 ;~sr$6  
struts.xslt.nocache V_L[P9  
      Whether or not XSLT templates should not be cached PtKTm\,JL0  
      是否XSLT模版应该被缓存 Ws49ImCB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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