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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Qn ^bVhG+  
?[*0+h`en  
struts.action.extension 9Rek4<5  
      The URL extension to use to determine if the request is meant for a Struts action :16P.z1L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Lokl2o `  
t+,4Ya|Xj  
struts.configuration /8VP[i)u  
      The org.apache.struts2.config.Configuration implementation class Ladsw  
        org.apache.struts2.config.Configuration接口名 Xtwun  
AamVms  
struts.configuration.files oG$)UTzGc  
      A list of configuration files automatically loaded by Struts L lBN-9p  
      struts自动加载的一个配置文件列表 liR ?  
e*+F pW@  
struts.configuration.xml.reload =%zLh<3v  
      Whether to reload the XML configuration or not `/Nm 2K  
      是否加载xml配置(true,false) {bO|409>W  
[^8n0{JiN  
struts.continuations.package Z%GTnG|rG  
      The package containing actions that use Rife continuations -XRn~=5   
      含有actions的完整连续的package名称 MNH1D! }  
Y(\T- bI  
struts.custom.i18n.resources jjJ2>3avY  
      Location of additional localization properties files to load qQ!1t>j+H  
      加载附加的国际化属性文件(不包含.properties后缀) Soie^$ Y  
Qb8KPpd  
struts.custom.properties Mv c`)_Md  
      Location of additional configuration properties files to load pfx3C*  
      加载附加的配置文件的位置 ;['[?wk  
0&ByEN9 9  
I@Xn3oN  
struts.devMode O]f/r,4@  
      Whether Struts is in development mode or not .^$YfTabq  
      是否为struts开发模式 JQ :Ri  
OB ~X/  
struts.dispatcher.parametersWorkaround "O8gJ0e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IV lf=k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E7Cy(LO  
+UJuB  
struts.enable.DynamicMethodInvocation = 8gHS[  
      Allows one to disable dynamic method invocation from the URL zI~owK)%Z  
        允许动态方法调用 47r_y\U h  
! _2n  
struts.freemarker.manager.classname M MzGd:0b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \7"@RHcihB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y7KzW*>g :  
~2EHOO{  
struts.i18n.encoding yqSs,vz  
      The encoding to use for localization messages Tz2-Bp]h  
      国际化信息内码 (M =Y&M'f  
OT^%3:zg  
struts.i18n.reload B3Jgd,[  
      Whether the localization messages should automatically be reloaded 6Es? MW=  
      是否国际化信息自动加载 T32BnmB{  
y2O4I'/5<  
struts.locale (Qgde6  
      The default locale for the Struts application 2 xw6 5z  
      默认的国际化地区信息 kt4d; 4n  
fF*`'i=!  
struts.mapper.class j@Qg0F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &R~n>>c  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EBtLzbj  
yfU<UQ!1  
struts.multipart.maxSize G8W#<1LE  
      The maximize size of a multipart request (file upload) RtG}h[k/X  
      multipart请求信息的最大尺寸(文件上传用) "U. ^lkN  
`IYuz:  
struts.multipart.parser  p0.|<  
      The org.apache.struts2.dispatcher.multipart. M4ozTp<$O  
      MultiPartRequest parser implementation for a multipart request (file upload) ~) ?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fjnTe  
 `[zQf  
GRy-+#,b"  
struts.multipart.saveDir *&AfR8x_z  
      The directory to use for storing uploaded files {{C`mgC  
      设置存储上传文件的目录夹 ,Ma.V\T[  
Y32O-I!9u  
struts.objectFactory c:83LZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class vd`}/~o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @H!$[m3  
Gu=STb  
struts.objectFactory.spring.autoWire E{HY!L[  
      Whether Spring should autoWire or not q P ;A}C  
      是否自动绑定Spring &h*S y  
F_xbwa*=  
struts.objectFactory.spring.useClassCache #S%Q*k<hw  
      Whether Spring should use its class cache or not 8+m H:O  
      是否spring应该使用自身的cache S' dV>m`  
E&yD8=vw  
struts.objectTypeDeterminer crO@?m1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CukC6u b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 sBv>E}*R  
Khh0*S8.K  
struts.serve.static.browserCache 4`#F^2r!  
If static content served by the Struts filter should set browser caching header properties or not vi@Lz3}::  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 39 {{7(hh  
B7\k< Nit0  
struts.serve.static OdMO=Hy6d  
      Whether the Struts filter should serve static content or not .^) UO  
      是否struts过滤器应该提供静态内容  n6F/Ac:  
R~bC,`Bh  
struts.tag.altSyntax , n !vsIN  
      Whether to use the alterative syntax for the tags or not HaA1z}?n  
      是否可以用替代的语法替代tags )hwV`2>l  
p8wyEHB  
struts.ui.templateDir 2tayP@$  
      The directory containing UI templates lq.Te,Y%w  
      UI templates的目录夹 @eqeN9e  
hzI *{  
struts.ui.theme 4YZS"K'E  
      The default UI template theme zb6ju]2  
      默认的UI template主题 wPbkUVO  
x*oWa,  
struts.url.http.port P7B:%HiAx  
      The HTTP port used by Struts URLs Qy#)Gxp  
      设置http端口 ,_!6U  
~.PP30 '  
struts.url.https.port `k\grr.J  
      The HTTPS port used by Struts URLs  TIy&&_p  
      设置https端口 i` A  
|L_wX:d`9  
struts.url.includeParams uGdp@]z&8Q  
      The default includeParams method to generate Struts URLs W;?(,xx  
      在url中产生 默认的includeParams :5GZ\Z8F  
'2hbJk  
JT[*3 h  
struts.velocity.configfile uhN%Aj\iu(  
      The Velocity configuration file path NGYyn`Lx  
      velocity配置文件路径 ;0ME+]`"3  
! #wdVe_(  
struts.velocity.contexts ()PKw,pD  
      List of Velocity context names F2(q>#<_  
      velocity的context列表 V+?]S  
GC8}X;((Y  
y( r1I[W'  
struts.velocity.manager.classname NV4g~+n  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2EQ 6J  
      org.apache.struts2.views.velocity.VelocityManager接口名 0;sRJ  
8GJdRL(  
struts.velocity.toolboxlocation .AV)'j#6P  
      The location of the Velocity toolbox 3*DXE9gA9  
      velocity工具盒的位置 ^GN8V-X4y  
struts.xslt.nocache QbYc[8-[  
      Whether or not XSLT templates should not be cached /Tz85 [%6  
      是否XSLT模版应该被缓存 x4Rk<Th"o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五