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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sje}E+{[  
 T)o)%Yv  
struts.action.extension O,Xf.O1c  
      The URL extension to use to determine if the request is meant for a Struts action w%,Iy, G@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C9-90,  
4m%RD&ZN  
struts.configuration urT!?*g,  
      The org.apache.struts2.config.Configuration implementation class cw 3JSz9  
        org.apache.struts2.config.Configuration接口名 ziuhS4k  
xUYUOyV  
struts.configuration.files ArBgg[i  
      A list of configuration files automatically loaded by Struts .tB[8Y=J  
      struts自动加载的一个配置文件列表 thk33ss:  
[YT"UVI  
struts.configuration.xml.reload u1y c  
      Whether to reload the XML configuration or not $CaF"5}?Ke  
      是否加载xml配置(true,false) )W&H{2No  
&6/# O  
struts.continuations.package %g3@m5&  
      The package containing actions that use Rife continuations d+KLtvB%M  
      含有actions的完整连续的package名称 R1'bB"$  
#uNQ+US0  
struts.custom.i18n.resources XW6>;:4k  
      Location of additional localization properties files to load #\1;d8h  
      加载附加的国际化属性文件(不包含.properties后缀) g@hg u   
/>_Mz  
struts.custom.properties ~]BxM9  
      Location of additional configuration properties files to load 4F EOV,n  
      加载附加的配置文件的位置 p't>'?UH|  
F,EcqM'f  
jSp4eq  
struts.devMode ENm\1  
      Whether Struts is in development mode or not B ?96d'A  
      是否为struts开发模式 {0F\Y+  
Bh?K_{e  
struts.dispatcher.parametersWorkaround '0D2e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4Mi~eL%D (  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `?)ivy>\:  
P+00wbx0  
struts.enable.DynamicMethodInvocation ^6Y4=  
      Allows one to disable dynamic method invocation from the URL YI!ecx%/4  
        允许动态方法调用 ^b)8l  
5*QNE!  
struts.freemarker.manager.classname -Bymt[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  a~>.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /y/O&`X(  
1I< <`7'  
struts.i18n.encoding kGbtZ} W  
      The encoding to use for localization messages 8nn%wps  
      国际化信息内码 ] ;X[xs  
lt 74`9,f  
struts.i18n.reload y ;W|)  
      Whether the localization messages should automatically be reloaded Q; DN*  
      是否国际化信息自动加载 LJ7Qwh_",  
QR4!r@*=  
struts.locale Z6@W)QX  
      The default locale for the Struts application *h59Vaoc  
      默认的国际化地区信息 os/_ObPiX  
:= OdjfhY  
struts.mapper.class t# cm |  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nl v8HC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;Y<Hi\2oy  
Th&-n%r9K  
struts.multipart.maxSize -P"9KnsO  
      The maximize size of a multipart request (file upload) EXt?xiha?  
      multipart请求信息的最大尺寸(文件上传用) 78'HE(*  
]ADj 9  
struts.multipart.parser .~J}80a/  
      The org.apache.struts2.dispatcher.multipart. AC*> f&  
      MultiPartRequest parser implementation for a multipart request (file upload) c s0;:H*N*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?"oW1a\  
QkMK\Up  
vU5a`0mH  
struts.multipart.saveDir Vgzw['L}  
      The directory to use for storing uploaded files ID+ o6/V8  
      设置存储上传文件的目录夹 92y<E<n  
,+`1/  
struts.objectFactory !V|%n(O"  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~fL:pVp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Aj| Gqw>  
h>jLhj<07W  
struts.objectFactory.spring.autoWire /W4F(3oM  
      Whether Spring should autoWire or not or2BG&W  
      是否自动绑定Spring cb ICO  
f+*wDH  
struts.objectFactory.spring.useClassCache GTvp)^ h  
      Whether Spring should use its class cache or not a~#MMl  
      是否spring应该使用自身的cache v]`}T/n  
!VNLjbee.  
struts.objectTypeDeterminer :-Gf GL>]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class EbTjBq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )"Ef* /+  
JY$B%R4;]  
struts.serve.static.browserCache <Uz~V;  
If static content served by the Struts filter should set browser caching header properties or not h!c6]D4!L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P(H,_7 4  
JPeZZ13sS  
struts.serve.static s06tCwPp  
      Whether the Struts filter should serve static content or not aD5jy  
      是否struts过滤器应该提供静态内容 v4X\LsOP  
0I|IL]JL  
struts.tag.altSyntax <Q-Y$ ^\  
      Whether to use the alterative syntax for the tags or not M]\p9p(_  
      是否可以用替代的语法替代tags sY @S  
+o{]0~ y  
struts.ui.templateDir TDvUiJm  
      The directory containing UI templates l| / tKW  
      UI templates的目录夹 *hJ&7w ~  
k-o(Q"[ '  
struts.ui.theme %cy]dEL7  
      The default UI template theme M$|r8%z1  
      默认的UI template主题 f>g< :.k*  
sIx8,3`&y  
struts.url.http.port ^]iIvIp  
      The HTTP port used by Struts URLs ; E Nhy  
      设置http端口 !8cS1(a  
T6 K?Xr{_  
struts.url.https.port  bnll-G|  
      The HTTPS port used by Struts URLs ]QB<N|ps  
      设置https端口 I/whpOg  
A6?+$ Hr  
struts.url.includeParams +9 Uo<6}  
      The default includeParams method to generate Struts URLs <r[5 S5y  
      在url中产生 默认的includeParams nEtG(^N  
wUnz D)  
RR*eq.;  
struts.velocity.configfile I-@A{vvPK  
      The Velocity configuration file path UIhU[f]  
      velocity配置文件路径 *pu ,|  
<"Ox)XG3]W  
struts.velocity.contexts %t*_Rtz\o  
      List of Velocity context names j3<|X  
      velocity的context列表 -pWnO9q  
2`D1cX  
x1g0_&F  
struts.velocity.manager.classname D..dGh.MY  
      org.apache.struts2.views.velocity.VelocityManager implementation class $L~?!u&N  
      org.apache.struts2.views.velocity.VelocityManager接口名 0nz=whS{  
--(e(tvf  
struts.velocity.toolboxlocation @P1#)  
      The location of the Velocity toolbox ZGstD2 N$  
      velocity工具盒的位置 c ilo8x`  
struts.xslt.nocache rQ_!/J[9  
      Whether or not XSLT templates should not be cached x.=Np\#\G-  
      是否XSLT模版应该被缓存 MfX1&/Z+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五