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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G~wFnl%  
/ahNnCtu?1  
struts.action.extension >r)X:K+I  
      The URL extension to use to determine if the request is meant for a Struts action QC0!p"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fl{WAg  
'4OcZ/oI  
struts.configuration B/J&l  
      The org.apache.struts2.config.Configuration implementation class b@t5`Y-+K  
        org.apache.struts2.config.Configuration接口名 IN7<@OS7  
xU S]P)R  
struts.configuration.files (X+s-4%  
      A list of configuration files automatically loaded by Struts m ,>  
      struts自动加载的一个配置文件列表 m7=1%6FN3  
#FYAV%pi  
struts.configuration.xml.reload L{ho*^b  
      Whether to reload the XML configuration or not j2M+]Zp.  
      是否加载xml配置(true,false) 2X88:  
zTo8OPr  
struts.continuations.package ~u&|G$1!0  
      The package containing actions that use Rife continuations W~ULc 9  
      含有actions的完整连续的package名称 -$<O\5cAQ  
~|Z'l%<Os  
struts.custom.i18n.resources s?3i) Ymr  
      Location of additional localization properties files to load !umEyd@ "  
      加载附加的国际化属性文件(不包含.properties后缀) G{x[uE2X&f  
[9mL $;M W  
struts.custom.properties @!Hr|k|  
      Location of additional configuration properties files to load }:z5t,u6  
      加载附加的配置文件的位置 h:/1X' 3d  
i2Jq|9,g  
,>LRa  
struts.devMode ( 0Naf  
      Whether Struts is in development mode or not J?n<ydZSH  
      是否为struts开发模式 OQ4c#V?  
-Dzsa  
struts.dispatcher.parametersWorkaround C+K=[   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Vv*NFJ|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T~gW3J  
*~z#.63oZ  
struts.enable.DynamicMethodInvocation DB`QsiC)  
      Allows one to disable dynamic method invocation from the URL 7ODaX.t->  
        允许动态方法调用 -DO&_`kn  
%G?K@5?j?  
struts.freemarker.manager.classname $R^AEa7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q;h3v1GC\P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o%y;(|4t >  
4B-yTyO  
struts.i18n.encoding r;iV$Rq !  
      The encoding to use for localization messages nhdTTap&9  
      国际化信息内码 0O2n/`'  
Nm]% }  
struts.i18n.reload uD>z@J-v  
      Whether the localization messages should automatically be reloaded S<6k0b(,_3  
      是否国际化信息自动加载 v })Q  
|G=[5e^s[  
struts.locale 80ZnM%/}  
      The default locale for the Struts application Y/U{Qc\ 6  
      默认的国际化地区信息 3+YbA)i;  
8NimZ(  
struts.mapper.class Mth6-^g5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7w58L:)B.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TYjA:d9YH  
=qoRS0Qa  
struts.multipart.maxSize A8?[6^%O|  
      The maximize size of a multipart request (file upload) ^uaFg`S  
      multipart请求信息的最大尺寸(文件上传用) ^[-> )  
gbOCR1PBg  
struts.multipart.parser \gccQig1CJ  
      The org.apache.struts2.dispatcher.multipart. mog9jw  
      MultiPartRequest parser implementation for a multipart request (file upload) b>cafu  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~!+h?[miV  
V`fL%du,3  
&K:' #[3V  
struts.multipart.saveDir #iis/6"  
      The directory to use for storing uploaded files fk5XvL  
      设置存储上传文件的目录夹 A%ywj'|z  
<9@7,2  
struts.objectFactory e^e$mtI  
      The com.opensymphony.xwork2.ObjectFactory implementation class MV+i{]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }++5_Z_  
'M'w,sID  
struts.objectFactory.spring.autoWire K5 vNhA  
      Whether Spring should autoWire or not f\ "`7  
      是否自动绑定Spring ZL%VOxYqi  
C ?H{CP  
struts.objectFactory.spring.useClassCache f =_^>>.  
      Whether Spring should use its class cache or not a&/HSf_G  
      是否spring应该使用自身的cache t&c&KFK)I&  
rS~qi}4X  
struts.objectTypeDeterminer vC9@,[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q5E:|)G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4nX(:K}>  
%"7WXOv&z  
struts.serve.static.browserCache =B5E0x  
If static content served by the Struts filter should set browser caching header properties or not w@N{ @tG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 fwmLJ5o N  
9[>Lp9l'  
struts.serve.static ^o%_W0_r  
      Whether the Struts filter should serve static content or not e)pTC97^L  
      是否struts过滤器应该提供静态内容 Hc!!tbBQ  
;9rTE|n  
struts.tag.altSyntax l L2-.!]R  
      Whether to use the alterative syntax for the tags or not l]vohLz 3!  
      是否可以用替代的语法替代tags B!q?_[k,  
` py}99G  
struts.ui.templateDir d7i#w #  
      The directory containing UI templates pv$tTWk  
      UI templates的目录夹 S|2VP8xY9  
G:Hj;&'2  
struts.ui.theme {'(ej5,6  
      The default UI template theme DJ:38_F  
      默认的UI template主题 :Kay$r0+  
:QA@ c|(PF  
struts.url.http.port oMTY)`me  
      The HTTP port used by Struts URLs Ve:&'~F2 s  
      设置http端口 PHkDb/HIx|  
?Y`zg`  
struts.url.https.port A c:\c7M;  
      The HTTPS port used by Struts URLs  Rkv  
      设置https端口 >6K4b/.5w  
m'.T2e.u  
struts.url.includeParams </w 7W3F  
      The default includeParams method to generate Struts URLs y''0PSfb#  
      在url中产生 默认的includeParams <lx^aakk!  
[a D:A  
xT+ ;w[s  
struts.velocity.configfile Z}f^qc+  
      The Velocity configuration file path XIN5a~[z*  
      velocity配置文件路径 Dh8(HiXf:  
-M`D >  
struts.velocity.contexts CveWl$T12  
      List of Velocity context names /Hk07:"c  
      velocity的context列表 1nXqi)&?;  
{_ 6t4h}  
QJM(UfHUD  
struts.velocity.manager.classname (wlfMiO  
      org.apache.struts2.views.velocity.VelocityManager implementation class r03I*b  
      org.apache.struts2.views.velocity.VelocityManager接口名 ho|  8U  
'^lUL) R  
struts.velocity.toolboxlocation `wV|q~  
      The location of the Velocity toolbox 4^MSX+zt  
      velocity工具盒的位置 ^^Bm$9  
struts.xslt.nocache Uf[T_  
      Whether or not XSLT templates should not be cached )6C`&Mj  
      是否XSLT模版应该被缓存 $:]tcY-L9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五