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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !HTOE@  
9o@3$  
struts.action.extension Q{/z>-X\x  
      The URL extension to use to determine if the request is meant for a Struts action t=%zY~P  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j0l{Mc5  
J 6 ~Sr  
struts.configuration N&8$tJ(hhx  
      The org.apache.struts2.config.Configuration implementation class ( 5LCy?-6  
        org.apache.struts2.config.Configuration接口名 P1F-Wy1  
-}7$;QK&a  
struts.configuration.files dL42)HP5  
      A list of configuration files automatically loaded by Struts {"o9pIh{~  
      struts自动加载的一个配置文件列表 *@rA7zPFf  
]d*9@+Iu  
struts.configuration.xml.reload oW~W(h!  
      Whether to reload the XML configuration or not Zkp~qx  
      是否加载xml配置(true,false) F^l1WX6  
gT}H B.  
struts.continuations.package 1AJ6NBC&c  
      The package containing actions that use Rife continuations Vgm*5a6t  
      含有actions的完整连续的package名称 XIcUoKg^  
7L~ *%j  
struts.custom.i18n.resources :WB uU  
      Location of additional localization properties files to load '#Wx@  
      加载附加的国际化属性文件(不包含.properties后缀) V]zZb-m=  
XYU5.  
struts.custom.properties V.B@@ ;  
      Location of additional configuration properties files to load 6uE20O<z]  
      加载附加的配置文件的位置 C'#KTp4!1  
0["93n}r  
9#DXA}  
struts.devMode %A zy#m  
      Whether Struts is in development mode or not Ip8ml0oG  
      是否为struts开发模式 ]J Yz(m[   
+C% 6jGGh  
struts.dispatcher.parametersWorkaround & bTCTDZh  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n Bm ]?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [F<E0rjwM  
(]@S<0  
struts.enable.DynamicMethodInvocation *7Vb([x4;  
      Allows one to disable dynamic method invocation from the URL BA\aVhmx  
        允许动态方法调用 t<rIg1  
F5?S8=i  
struts.freemarker.manager.classname :8b'HhjM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #Y5k/NPg  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 GvVkb=="  
sH6;__e  
struts.i18n.encoding V.Hv6  
      The encoding to use for localization messages O84]J:b  
      国际化信息内码 hQ#e;1uD  
l>6tEOXt  
struts.i18n.reload #*h\U]=VS  
      Whether the localization messages should automatically be reloaded Vb,V N?l  
      是否国际化信息自动加载 %a/3*vz/I%  
/A9RmTb  
struts.locale 8lQ}-8  
      The default locale for the Struts application 5 kHaZ Q  
      默认的国际化地区信息 k9k39`t  
7uR;S:WX  
struts.mapper.class Y j oe|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <Km9Mq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4  OPY  
*'((_ NZ>  
struts.multipart.maxSize '#6e Ub  
      The maximize size of a multipart request (file upload) ny-:%A  
      multipart请求信息的最大尺寸(文件上传用) t:10  
aUw-P{zp%  
struts.multipart.parser "L3mW=!*  
      The org.apache.struts2.dispatcher.multipart. LS~at.3zX  
      MultiPartRequest parser implementation for a multipart request (file upload) g Wtc3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '| i?-(f)  
0B.Gt&O al  
uj.i(U s  
struts.multipart.saveDir P%|~Ni_BTX  
      The directory to use for storing uploaded files 2cCiHEL#  
      设置存储上传文件的目录夹 +M"j#H  
wR%Ta-  
struts.objectFactory HA'~1$#z  
      The com.opensymphony.xwork2.ObjectFactory implementation class &y!?R$?b  
      com.opensymphony.xwork2.ObjectFactory接口(spring) FGDVBUY@  
aAjl 58  
struts.objectFactory.spring.autoWire .`Rt   
      Whether Spring should autoWire or not `Gio 2gl9  
      是否自动绑定Spring D4VDWv  
y_m+&Oe  
struts.objectFactory.spring.useClassCache aHN"I  
      Whether Spring should use its class cache or not 8c5YX  
      是否spring应该使用自身的cache ]}3s/NJi  
R`(2Fy%0\k  
struts.objectTypeDeterminer 9KVJk</:n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]BO:*&O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 RU)(|;  
wn"}<ka  
struts.serve.static.browserCache "BQnP9  
If static content served by the Struts filter should set browser caching header properties or not nCYkUDnZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ty g>Xv  
<YvXyIs  
struts.serve.static E+]}KX:  
      Whether the Struts filter should serve static content or not zu d_BOq{f  
      是否struts过滤器应该提供静态内容 Im;%.J  
;e?M;-  
struts.tag.altSyntax ?[JP[ qS  
      Whether to use the alterative syntax for the tags or not J*;RL`  
      是否可以用替代的语法替代tags rUI?{CV  
9xR5Jm>k  
struts.ui.templateDir wQSan&81Q  
      The directory containing UI templates ABCm2$<  
      UI templates的目录夹 Yg&(kmm  
?X@!jB,Pv  
struts.ui.theme G80N8Lm  
      The default UI template theme GRcPzneiz  
      默认的UI template主题 >pF*unC;  
zj7ta[<tr  
struts.url.http.port ~nA k-toJ  
      The HTTP port used by Struts URLs x3y+=aj  
      设置http端口 Tz1^"tx9  
i(4<MB1a  
struts.url.https.port @j\:K<sk  
      The HTTPS port used by Struts URLs :+\0.\K0!  
      设置https端口 .OdtM X y  
yCxYFi  
struts.url.includeParams D0Q9A]bD;  
      The default includeParams method to generate Struts URLs JLu$1A@ '  
      在url中产生 默认的includeParams rqjq}L)  
g<Z :`00|  
R /=rNUe  
struts.velocity.configfile Ll]5u~  
      The Velocity configuration file path CXq[VYM&X  
      velocity配置文件路径 81Z;hO"~  
f"s_dR  
struts.velocity.contexts \]> YLyG  
      List of Velocity context names ~e}JqJ(97  
      velocity的context列表 P) vD?)Q  
A|ZT ;\  
JX&U?Z  
struts.velocity.manager.classname ji?Hw  
      org.apache.struts2.views.velocity.VelocityManager implementation class O=jLZ2os  
      org.apache.struts2.views.velocity.VelocityManager接口名 zM0}(5$m  
sT?{  
struts.velocity.toolboxlocation e"hfeNphz  
      The location of the Velocity toolbox Uj5-x%~  
      velocity工具盒的位置 h4]^~stI  
struts.xslt.nocache iwF_'I$#N  
      Whether or not XSLT templates should not be cached A4"TJZBg}  
      是否XSLT模版应该被缓存 Sp\TaUzg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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