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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \3/9lE|gh  
{Q"<q`c  
struts.action.extension dd+).*  
      The URL extension to use to determine if the request is meant for a Struts action xVP GlU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I|:j~EY  
Bk F[nL*|  
struts.configuration G~Sfpf  
      The org.apache.struts2.config.Configuration implementation class ~eP 2PG  
        org.apache.struts2.config.Configuration接口名 ;D7jE+  
}R x%&29&  
struts.configuration.files ZjK~s)RC  
      A list of configuration files automatically loaded by Struts 90!Ib~7zH  
      struts自动加载的一个配置文件列表 Z-?9F`}  
a*8}~p,  
struts.configuration.xml.reload ;F Bc^*q  
      Whether to reload the XML configuration or not H#y"3E<s  
      是否加载xml配置(true,false) B+LNDnjO]  
V_kE"W)  
struts.continuations.package sFTIRVXN,  
      The package containing actions that use Rife continuations Y(f-e,  
      含有actions的完整连续的package名称 xd3  
2o/`8+eJu  
struts.custom.i18n.resources ^J_hkw~gO  
      Location of additional localization properties files to load qr 9 F  
      加载附加的国际化属性文件(不包含.properties后缀) [8w2U%}]  
YB|9k)Z2[  
struts.custom.properties kes'q8k  
      Location of additional configuration properties files to load $%-?S]6)  
      加载附加的配置文件的位置 Ymu=G3-  
11sW$@xs 9  
$\ '\@3o  
struts.devMode p3o?_ !Z  
      Whether Struts is in development mode or not _u>>+6,p  
      是否为struts开发模式 :6+~"7T  
5,Y2Lzr  
struts.dispatcher.parametersWorkaround h(-&.Sm")H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q/9b'^UJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [}p.*U_nw  
'Ot[q^,KRG  
struts.enable.DynamicMethodInvocation l?o- p  
      Allows one to disable dynamic method invocation from the URL 4o3GS8  
        允许动态方法调用 `N|CL  
`^kST><  
struts.freemarker.manager.classname ?r<F\rBT7*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %"zJsYQ!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 rzHa&:Y  
Fe .*O`  
struts.i18n.encoding  P+0xi  
      The encoding to use for localization messages pg)g&ifKl  
      国际化信息内码 s_LSs yqo  
A\)X&vR[6  
struts.i18n.reload 3#[I _  
      Whether the localization messages should automatically be reloaded MV}]i@ V  
      是否国际化信息自动加载 `%3p.~>  
ErC[Zh"''  
struts.locale Cj+=9Dc  
      The default locale for the Struts application U^&Cvxc[[  
      默认的国际化地区信息 K7c8_g*>4=  
Uj)]nJX  
struts.mapper.class iurB8~Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }i:'f 2/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VHCzlg  
h6i{5\7.  
struts.multipart.maxSize Gu).*cU  
      The maximize size of a multipart request (file upload) rR~X>+K  
      multipart请求信息的最大尺寸(文件上传用) `WS_*fJ5  
8)8oR&(f  
struts.multipart.parser sIsu >eL  
      The org.apache.struts2.dispatcher.multipart. p%1m&/ `F  
      MultiPartRequest parser implementation for a multipart request (file upload) [!mjUsut*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1.uQ(>n  
su;S)yZb  
;7k7/f:  
struts.multipart.saveDir (02(:;1  
      The directory to use for storing uploaded files V?BVk8D};  
      设置存储上传文件的目录夹 Pltju4.:C  
K3DJ"NJ<Ji  
struts.objectFactory qhtAtP>i"  
      The com.opensymphony.xwork2.ObjectFactory implementation class {W<-f?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jqWvLBU!  
^6>|!  
struts.objectFactory.spring.autoWire =osw3"ng  
      Whether Spring should autoWire or not :j<JZs>`R  
      是否自动绑定Spring ZiYzsn  
0\@|M@X=  
struts.objectFactory.spring.useClassCache C/Bx_j((  
      Whether Spring should use its class cache or not ? M_SNv  
      是否spring应该使用自身的cache ZS]f+}0/}  
0f/!|c  
struts.objectTypeDeterminer , % jTXb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class oH0F9*+W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3G|fo4g  
Y26l,XIV  
struts.serve.static.browserCache `0|&T;7  
If static content served by the Struts filter should set browser caching header properties or not L$ Ar]O)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J6D$ i+  
Ilb |:x"L  
struts.serve.static N06O.bji  
      Whether the Struts filter should serve static content or not agT[y/gb  
      是否struts过滤器应该提供静态内容 DW&')gfQ  
$i~`vu*  
struts.tag.altSyntax y/hvH"f  
      Whether to use the alterative syntax for the tags or not :~R Fy?xRa  
      是否可以用替代的语法替代tags fcXk]W  
| V,jd  
struts.ui.templateDir ~j#6 goKn  
      The directory containing UI templates 8k?L{hF|nW  
      UI templates的目录夹 }AZx/[k |z  
.BDRD~kB  
struts.ui.theme T JS1,3<  
      The default UI template theme kTc5KHJ7  
      默认的UI template主题 +\vY;!^  
BV?N_/DXp  
struts.url.http.port U] -@yx  
      The HTTP port used by Struts URLs f ?zK "  
      设置http端口 W;]U P$5l  
./y[<e  
struts.url.https.port <D;Q8  
      The HTTPS port used by Struts URLs bu]Se6%}  
      设置https端口 X3iRR{< @  
-G#@BtB2+  
struts.url.includeParams aw%vu  
      The default includeParams method to generate Struts URLs )h_ 7 2  
      在url中产生 默认的includeParams ]{+M>i[  
[k 7N+W8  
JD`;,Md  
struts.velocity.configfile udI: ]:,P  
      The Velocity configuration file path |O+>#  
      velocity配置文件路径 qS}RFM5|  
A<X :K nl  
struts.velocity.contexts j{Jc6U  
      List of Velocity context names ieRBD6_  
      velocity的context列表 tSc>@Q_|  
r9a!,^}F  
&t|V:_?/x  
struts.velocity.manager.classname p2DNbY\]  
      org.apache.struts2.views.velocity.VelocityManager implementation class Mth`s{sATa  
      org.apache.struts2.views.velocity.VelocityManager接口名 @j2*.ee  
}rA+W-7  
struts.velocity.toolboxlocation mYOdBd  
      The location of the Velocity toolbox )LrCoI =|  
      velocity工具盒的位置 9iddanQA  
struts.xslt.nocache K(KP3Q  
      Whether or not XSLT templates should not be cached 5J\|gZQF  
      是否XSLT模版应该被缓存 ;@YF}%!+W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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