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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !Won<:.[0  
K#<cuHGC  
struts.action.extension )M(-EDL>Qk  
      The URL extension to use to determine if the request is meant for a Struts action Dwp-*QK^G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;Jq 7E  
y72=d?]W  
struts.configuration 1{7*0cv$iL  
      The org.apache.struts2.config.Configuration implementation class 982n G-"  
        org.apache.struts2.config.Configuration接口名 C Nt  
q_ |YLs`  
struts.configuration.files {E+o+2L  
      A list of configuration files automatically loaded by Struts c$[cDf~  
      struts自动加载的一个配置文件列表 [#Y7iN&  
y&$v@]t1  
struts.configuration.xml.reload z7'C;I  
      Whether to reload the XML configuration or not Pn[R.u(l  
      是否加载xml配置(true,false) ",gWO 8T  
BYBf`F)4  
struts.continuations.package */JMPw&  
      The package containing actions that use Rife continuations 0X"D!G):  
      含有actions的完整连续的package名称 ic_q<Y}  
[b<AQFh<c  
struts.custom.i18n.resources K~B@8az  
      Location of additional localization properties files to load C VyE5w  
      加载附加的国际化属性文件(不包含.properties后缀) hLf<-NM  
_:0  
struts.custom.properties } JePEmj  
      Location of additional configuration properties files to load 2!+saf^-,  
      加载附加的配置文件的位置 <+wbnnK  
bdUe,2Yin  
FnFJw;:,{  
struts.devMode 3h-C&C  
      Whether Struts is in development mode or not Rt^~db  
      是否为struts开发模式 #M5R>&?Jqz  
e0ea2 2  
struts.dispatcher.parametersWorkaround  KDODUohC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic z[q#Dw  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PfRe)JuB  
gLyE,1Z}u  
struts.enable.DynamicMethodInvocation lSu\VCG  
      Allows one to disable dynamic method invocation from the URL XpLK0YI  
        允许动态方法调用 L93&.d@m9  
I#m0n%-[  
struts.freemarker.manager.classname n\ yDMY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class */ ~_3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @FBlF$vG  
1D6F WYV8  
struts.i18n.encoding y)B>g/Hoh  
      The encoding to use for localization messages e{"r3*  
      国际化信息内码 I|27%i  
BmP!/i_  
struts.i18n.reload N^{"k,vB-  
      Whether the localization messages should automatically be reloaded MY[QYBkn}  
      是否国际化信息自动加载 dF?:&oP]  
CSC sJE#4  
struts.locale >*hY1@N1  
      The default locale for the Struts application rLU+-_  
      默认的国际化地区信息 Sas &P:# r  
|NsrO8H   
struts.mapper.class Ch~2w)HAA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class tocZO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 + ~6Nq(kV  
8N8N)#A[  
struts.multipart.maxSize U49#?^?  
      The maximize size of a multipart request (file upload) L1'#wH  
      multipart请求信息的最大尺寸(文件上传用) -/k;VT|  
YhVV~bvz*  
struts.multipart.parser b xU13ESv  
      The org.apache.struts2.dispatcher.multipart. 23F<f+2S  
      MultiPartRequest parser implementation for a multipart request (file upload) [M7&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^,?dk![1Cv  
.fQ/a`AsU  
? x*Ve2+]  
struts.multipart.saveDir 5L'bF2SI  
      The directory to use for storing uploaded files Dd(#   
      设置存储上传文件的目录夹 @213KmB.  
WxN@&g(  
struts.objectFactory xS4B"/  
      The com.opensymphony.xwork2.ObjectFactory implementation class !OVTs3}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'q#$^ ='o  
W' DpI7  
struts.objectFactory.spring.autoWire DH#n7s'b  
      Whether Spring should autoWire or not 9{{|P=  
      是否自动绑定Spring RY>BP[h  
\Kx@?,  
struts.objectFactory.spring.useClassCache tP?pN]Q$,  
      Whether Spring should use its class cache or not !zhg3B# p  
      是否spring应该使用自身的cache =`8%qh  
U_-9rkUa  
struts.objectTypeDeterminer "|2|Vju%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "kE$2Kg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^[7ZBmS  
1@ e22\  
struts.serve.static.browserCache .=j]PckJO  
If static content served by the Struts filter should set browser caching header properties or not Q: H`TSR]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 986y\9Zu  
Po%+:0oX  
struts.serve.static (BB&ZUdyv  
      Whether the Struts filter should serve static content or not x6, #Jp  
      是否struts过滤器应该提供静态内容 M@G <I]\  
kl0!*j  
struts.tag.altSyntax -P+@n)?T6  
      Whether to use the alterative syntax for the tags or not BCw5.@HK*  
      是否可以用替代的语法替代tags Ur`jmB  
l>KkK|!T^i  
struts.ui.templateDir x=UwyZ  
      The directory containing UI templates *PXlbb  
      UI templates的目录夹 X3z$f(lF%)  
hdi/k!9[\  
struts.ui.theme ]BY^.!Y  
      The default UI template theme n9Mi?#xIp  
      默认的UI template主题 mfYY?]A*+  
QY]^^f  
struts.url.http.port B74L/h  
      The HTTP port used by Struts URLs 2wHvHH!  
      设置http端口 QKj-"y[  
kRCuc}:SB  
struts.url.https.port &"D *  
      The HTTPS port used by Struts URLs . 6wyu7oK  
      设置https端口 + _=&7  
[D]9M"L,vQ  
struts.url.includeParams 8"d0Su4r  
      The default includeParams method to generate Struts URLs (+@ Lnz\  
      在url中产生 默认的includeParams rf2+~B{$,  
; TaR1e0  
<<43 'N+  
struts.velocity.configfile 8Ol#-2>k$  
      The Velocity configuration file path )2@_V %  
      velocity配置文件路径 n*tT <  
=j%B`cJ66_  
struts.velocity.contexts kC =e>v  
      List of Velocity context names N5 BC<pu  
      velocity的context列表 k{*IR  
'baew8Q#  
0]x gE  
struts.velocity.manager.classname 9y BENvq  
      org.apache.struts2.views.velocity.VelocityManager implementation class 41c]o<!=)j  
      org.apache.struts2.views.velocity.VelocityManager接口名 >900I4]I  
<kQ 5sG  
struts.velocity.toolboxlocation !.\EU*)1  
      The location of the Velocity toolbox G_GPnKdd  
      velocity工具盒的位置 sSisO?F!Z  
struts.xslt.nocache -WDU~VSU  
      Whether or not XSLT templates should not be cached "62vwWrwO  
      是否XSLT模版应该被缓存 sV8}Gv a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五