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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UlN}SddI9  
-,=)O  
struts.action.extension Np9Pae'  
      The URL extension to use to determine if the request is meant for a Struts action _mdJIa0D6k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jkuNafp}  
)tV]h#4  
struts.configuration !Y^$rF-+  
      The org.apache.struts2.config.Configuration implementation class &e[Lb:Uk)  
        org.apache.struts2.config.Configuration接口名 .*EP$pc  
(#je0ES  
struts.configuration.files .q]K:}9!\  
      A list of configuration files automatically loaded by Struts IP !zg|c,  
      struts自动加载的一个配置文件列表 IMSm  
Y=pRenV'  
struts.configuration.xml.reload qy\SOA h  
      Whether to reload the XML configuration or not Tig6<t+Q  
      是否加载xml配置(true,false) 3joMtRB>;  
mn<ea&  
struts.continuations.package S!}pL8OE  
      The package containing actions that use Rife continuations kgmb<4p  
      含有actions的完整连续的package名称 Eh_[8:dK  
nzYFa J+  
struts.custom.i18n.resources b[;3y/X  
      Location of additional localization properties files to load dj0D u^ v4  
      加载附加的国际化属性文件(不包含.properties后缀) Git2Cet  
SR)@'-Wd  
struts.custom.properties r:^`005  
      Location of additional configuration properties files to load lgAE`Os  
      加载附加的配置文件的位置 QQ,w:OjA0  
)>=|oY3  
)^^}!U#|e  
struts.devMode iN`L*h  
      Whether Struts is in development mode or not @D<Q'7mLh  
      是否为struts开发模式 ~b4fk^u`+  
x2f_>tu2  
struts.dispatcher.parametersWorkaround T?5F0WKi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `+r5I5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ',RR*{I  
+n`^W(  
struts.enable.DynamicMethodInvocation v:j4#pEWD  
      Allows one to disable dynamic method invocation from the URL wIbc8ze  
        允许动态方法调用 C$B?|oUJc  
eP3 itrH(  
struts.freemarker.manager.classname :\1&5Pm]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tX}Fb0y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =WP}RZ{S  
WHF:> 0B  
struts.i18n.encoding 2,%ne(  
      The encoding to use for localization messages s*}d`"YvH  
      国际化信息内码 ?at~il$z'  
PsD]gN5"  
struts.i18n.reload R ?\8SdJ  
      Whether the localization messages should automatically be reloaded V'?nS&,i  
      是否国际化信息自动加载 5 4LCoG/  
5O%}.}n  
struts.locale 2Z..~1r  
      The default locale for the Struts application IPE(  
      默认的国际化地区信息 EA>$t\z  
AB#hh i#  
struts.mapper.class 3vs2}IV'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K<_H`k*x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <$9AP  
X!_OOfueP8  
struts.multipart.maxSize Kd,m;S\  
      The maximize size of a multipart request (file upload) n#]G!7  
      multipart请求信息的最大尺寸(文件上传用) -)<Nd:A  
!8s:3]  
struts.multipart.parser h; unbz  
      The org.apache.struts2.dispatcher.multipart. CGg6nCB  
      MultiPartRequest parser implementation for a multipart request (file upload) D{z=)'/F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gf@'d.W}  
aA yFu_  
->#7_W  
struts.multipart.saveDir @o^sp|k !  
      The directory to use for storing uploaded files Vgm{=$  
      设置存储上传文件的目录夹 %I=J8$B]f  
Y2D) $  
struts.objectFactory {5z?5i ?D  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9hp0wi@W}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) pcl _$2_  
=O _[9kuJ  
struts.objectFactory.spring.autoWire 02S(9^=  
      Whether Spring should autoWire or not ta 4<d)nB  
      是否自动绑定Spring Vis?cuU/  
E0h!%/+-L  
struts.objectFactory.spring.useClassCache @+!d@`w:z2  
      Whether Spring should use its class cache or not 9_/1TjrDN  
      是否spring应该使用自身的cache U&a]gkr  
^e 6(#SqR  
struts.objectTypeDeterminer T<=\5mn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6$5M^3$-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  G0&w#j  
5Q'R5]?h  
struts.serve.static.browserCache =UP)b9*h  
If static content served by the Struts filter should set browser caching header properties or not 4* hmeS"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3a S>U #  
-T(V6&'Qi  
struts.serve.static UX9o  
      Whether the Struts filter should serve static content or not nb!m>0*/  
      是否struts过滤器应该提供静态内容 CUd'*Ewu  
QtzHr  
struts.tag.altSyntax bcE DjLXq  
      Whether to use the alterative syntax for the tags or not ~5#7i_%@E}  
      是否可以用替代的语法替代tags NV;tsuA|  
Stw6%T-  
struts.ui.templateDir y|mR'{$I  
      The directory containing UI templates Q& \k"X1  
      UI templates的目录夹 \ a<Ye T  
1wM p3  
struts.ui.theme 1|89-Ii]  
      The default UI template theme zc(7p;w#p  
      默认的UI template主题 xMh&C{q  
cS[`1y,\3  
struts.url.http.port n(+:l'#HJ  
      The HTTP port used by Struts URLs pVY.&XBZ$  
      设置http端口 0&-sz=L  
#,;k>2j0  
struts.url.https.port Y#5S;?bR  
      The HTTPS port used by Struts URLs Dx%fW`  
      设置https端口 BW;u? 1Xa  
_B[(/wY  
struts.url.includeParams yiUdUw/  
      The default includeParams method to generate Struts URLs uQNoIy J)  
      在url中产生 默认的includeParams U#P#YpD;==  
y%y#Pb |  
ij),DbWd  
struts.velocity.configfile G#*;3X$  
      The Velocity configuration file path 6bn-NY:i  
      velocity配置文件路径  x1et,&,  
v]!7=>/2  
struts.velocity.contexts G# C)]4[n  
      List of Velocity context names hU{%x#8}lK  
      velocity的context列表 EKf4f^<  
k4P.}SJ?  
57}q'84  
struts.velocity.manager.classname Sq'z<}o  
      org.apache.struts2.views.velocity.VelocityManager implementation class z,EOyi  
      org.apache.struts2.views.velocity.VelocityManager接口名 !]nCeo  
hg~fFj3ST  
struts.velocity.toolboxlocation Kna'5L5"  
      The location of the Velocity toolbox J@fE" )  
      velocity工具盒的位置 4SrK]+|  
struts.xslt.nocache ^s*} 0  
      Whether or not XSLT templates should not be cached VGq]id{*$  
      是否XSLT模版应该被缓存 %Z? o]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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