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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P% Q@9kO>  
OTE<x"=h  
struts.action.extension Jh?z=JY  
      The URL extension to use to determine if the request is meant for a Struts action x<@kjfm5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -AC`q/bCD  
7G"7wYc>R  
struts.configuration n8$=f'Hgb  
      The org.apache.struts2.config.Configuration implementation class E+z18Lf?  
        org.apache.struts2.config.Configuration接口名 F@1d%c  
H<Hrwy~  
struts.configuration.files k}zd' /b  
      A list of configuration files automatically loaded by Struts 0 I @$ 0Gg  
      struts自动加载的一个配置文件列表 >t0%?wj)Y  
|!Fk2Je,  
struts.configuration.xml.reload /[iG5~G  
      Whether to reload the XML configuration or not 69/?7r  
      是否加载xml配置(true,false) \vVSh  
t:=k)B  
struts.continuations.package H_Os4}  
      The package containing actions that use Rife continuations {i>Jfl]G}  
      含有actions的完整连续的package名称 $/paEn"  
xs%LRF# u  
struts.custom.i18n.resources U` hfvTi  
      Location of additional localization properties files to load 8R}K?+]  
      加载附加的国际化属性文件(不包含.properties后缀) +]c}rWm  
bDWeU}  
struts.custom.properties f05=Mc&)  
      Location of additional configuration properties files to load /$:U$JVb?l  
      加载附加的配置文件的位置 z]$>+MH_  
13a(FG  
(a }J$:  
struts.devMode vbp-`M(  
      Whether Struts is in development mode or not ;v_V+t <$  
      是否为struts开发模式 PrSkHxm  
l E^*t`+  
struts.dispatcher.parametersWorkaround c#QFG1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s}ADk-7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JKy#j g:#  
xGRT"U(  
struts.enable.DynamicMethodInvocation $KX[Zu%  
      Allows one to disable dynamic method invocation from the URL EZib1g&:R/  
        允许动态方法调用 7~b!4x|Z  
kaQ2A  
struts.freemarker.manager.classname 9tk" :ld  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9!}q{2j  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G52Z)^  
`(DJs-xD  
struts.i18n.encoding MCU9O  
      The encoding to use for localization messages Q0~j$Jc  
      国际化信息内码 /.$L"u  
(ua q<Cvg  
struts.i18n.reload iCrxV{   
      Whether the localization messages should automatically be reloaded #*2Rp8n  
      是否国际化信息自动加载 nU/;2=f<  
O!^; mhy"  
struts.locale w^{! U  
      The default locale for the Struts application p7C!G1+z  
      默认的国际化地区信息 q8sb n  
xo  Gb  
struts.mapper.class yN\e{;z`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :wipE]~4t  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -;pOh;WG  
((|IS[  
struts.multipart.maxSize #s2B%X  
      The maximize size of a multipart request (file upload) y94kX:q  
      multipart请求信息的最大尺寸(文件上传用) %>y;zqZIU  
QaQ'OrP  
struts.multipart.parser (Z-l/)Q  
      The org.apache.struts2.dispatcher.multipart. '7tBvVO_  
      MultiPartRequest parser implementation for a multipart request (file upload) Y)M8zi>b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T'1gy}  
`FJ|W6%  
{Q~7M$  
struts.multipart.saveDir Hm9<fQuM  
      The directory to use for storing uploaded files A-wRah.M  
      设置存储上传文件的目录夹 [w+Q^\%bN  
hNbIpi=  
struts.objectFactory >]&X ^V%Q#  
      The com.opensymphony.xwork2.ObjectFactory implementation class |^GyH$.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XP?*=Z]  
</s,pe79B  
struts.objectFactory.spring.autoWire v <Hb-~  
      Whether Spring should autoWire or not z[9UQU~x?  
      是否自动绑定Spring I:$"E% >=  
r,xmEj0E  
struts.objectFactory.spring.useClassCache E>pVn2|  
      Whether Spring should use its class cache or not Yc`<S   
      是否spring应该使用自身的cache BU6Jyuwn  
^$Krub{|  
struts.objectTypeDeterminer 8_xLl2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;%zC@a~{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZHkw6@|  
`Ko[r R+  
struts.serve.static.browserCache %fhNxR  
If static content served by the Struts filter should set browser caching header properties or not !/hsJ9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 SDBt @=Nl  
BQjGv?p0s  
struts.serve.static `;F2n2@  
      Whether the Struts filter should serve static content or not Fr5 Xp  
      是否struts过滤器应该提供静态内容 3z[ $4L'.  
2z\;Q8g){r  
struts.tag.altSyntax &5Y_>{,  
      Whether to use the alterative syntax for the tags or not S " pI  
      是否可以用替代的语法替代tags kuKa8c  
-BhTkoN)  
struts.ui.templateDir `.^ |]|u  
      The directory containing UI templates : ejJV 6.  
      UI templates的目录夹 !>g:Si"  
eVt1d2.O  
struts.ui.theme ?CY1]d  
      The default UI template theme n29(!10Px  
      默认的UI template主题 ddDS=OfH  
q;A;H)?g  
struts.url.http.port CMl~=[foW  
      The HTTP port used by Struts URLs 'M/ ([|@  
      设置http端口 Dp!zk}f|  
{gU&%j  
struts.url.https.port &erm`Ho  
      The HTTPS port used by Struts URLs DDw''  
      设置https端口 MFwO9"<A  
YBjdp=als  
struts.url.includeParams tu}>:mk  
      The default includeParams method to generate Struts URLs #jS[  
      在url中产生 默认的includeParams _H\<[-l  
ebM{OI  
ctJ&URCi#  
struts.velocity.configfile dGkg aC+  
      The Velocity configuration file path 97LpY_sU  
      velocity配置文件路径 P} r)wAt  
D:E9!l'  
struts.velocity.contexts ,]$A\+m'  
      List of Velocity context names 3f&|h^\nD  
      velocity的context列表 *%A}x   
K2ewucn  
WzlC*iv  
struts.velocity.manager.classname I>"Ci(N  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'HaD~pa  
      org.apache.struts2.views.velocity.VelocityManager接口名 4JO@BV>t  
+jV_Wz  
struts.velocity.toolboxlocation mEDpKWBk  
      The location of the Velocity toolbox edpW8eND  
      velocity工具盒的位置 g>0vm2|  
struts.xslt.nocache c K<)$*  
      Whether or not XSLT templates should not be cached P))^vUt~  
      是否XSLT模版应该被缓存 N"c(e6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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