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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DO6Tz -%o  
@/jLN  
struts.action.extension DD5 S R  
      The URL extension to use to determine if the request is meant for a Struts action X)6}<A  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jT/}5\  
}(tuBJ9  
struts.configuration tjLp;%6e  
      The org.apache.struts2.config.Configuration implementation class \A "_|Yg  
        org.apache.struts2.config.Configuration接口名 "  ,k(*  
G4O $gg  
struts.configuration.files ]:H((rk  
      A list of configuration files automatically loaded by Struts P5;n(E(19  
      struts自动加载的一个配置文件列表 !A_<(M<  
Q5Yy \M  
struts.configuration.xml.reload !'m MGxkEb  
      Whether to reload the XML configuration or not rFn%e  
      是否加载xml配置(true,false) Z8mSm[w  
DNTkv_S  
struts.continuations.package y-C=_v_X  
      The package containing actions that use Rife continuations $U . >]i  
      含有actions的完整连续的package名称 xAlyik  
DPV>2' fV  
struts.custom.i18n.resources XL=Y~7b  
      Location of additional localization properties files to load 'DLgOUvh  
      加载附加的国际化属性文件(不包含.properties后缀) 10.u  
I'sq0^  
struts.custom.properties *49({TD6`  
      Location of additional configuration properties files to load {9mXJu$cc  
      加载附加的配置文件的位置 V/N:Of:\R  
lSW6\jX  
={'*C7K)oK  
struts.devMode s0D,n1x  
      Whether Struts is in development mode or not [te9ui%JS  
      是否为struts开发模式 CB!5>k+mC  
 F6'[8f  
struts.dispatcher.parametersWorkaround 7c.96FA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic VKGH+j[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HV0!G-h  
A8|DB@ Bi  
struts.enable.DynamicMethodInvocation X1wlOE  
      Allows one to disable dynamic method invocation from the URL r [NI#wW  
        允许动态方法调用 Ku 'OM6D<  
I| V yv  
struts.freemarker.manager.classname nf%"7y{dd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +F>9hA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^jph"a C  
ioJ~k[T  
struts.i18n.encoding %1JN%  
      The encoding to use for localization messages @'5*u~M  
      国际化信息内码 gC/~@Z8W]  
S2APqRg*  
struts.i18n.reload TK! D=M  
      Whether the localization messages should automatically be reloaded uGo tXb  
      是否国际化信息自动加载 &PE/\_xD_  
NI<;Lm  
struts.locale &<Iyb}tA?  
      The default locale for the Struts application lhk=yVG3  
      默认的国际化地区信息 8?yRa{'"  
WSi`KNX  
struts.mapper.class Bm e_#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?v5OUmFM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cu |S|]g  
YZ0y_it)  
struts.multipart.maxSize \Ei(HmEU  
      The maximize size of a multipart request (file upload) $4Vpl  
      multipart请求信息的最大尺寸(文件上传用) 4hQ.RO  
JkfVsmc<{h  
struts.multipart.parser # .j[iN :+  
      The org.apache.struts2.dispatcher.multipart. JXhHitUD  
      MultiPartRequest parser implementation for a multipart request (file upload) jWUpzf)q=T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K-<kp!v  
^Fop/\E  
GS*Mv{JJ  
struts.multipart.saveDir ^i;y2c  
      The directory to use for storing uploaded files ezz;NH  
      设置存储上传文件的目录夹 b'5]o  
O,D/& 0  
struts.objectFactory \c1NIuJR  
      The com.opensymphony.xwork2.ObjectFactory implementation class $E >)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uo<iZ3J  
U=Hx&g  
struts.objectFactory.spring.autoWire Id(wY$C&>  
      Whether Spring should autoWire or not HNMVs]/e  
      是否自动绑定Spring P&g.%8b~84  
n1E^8[~'  
struts.objectFactory.spring.useClassCache r.~^h^c]  
      Whether Spring should use its class cache or not QIb4ghm,  
      是否spring应该使用自身的cache g!![%*' b  
S.)+C2g,@  
struts.objectTypeDeterminer #Rw9 Iy4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^.Xom~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PV(TDb:0  
q@+#CUa&n  
struts.serve.static.browserCache $~G=Hcl9  
If static content served by the Struts filter should set browser caching header properties or not _yH=w'8.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +k?0C?/T;  
_+0Q Q{'N  
struts.serve.static kv8 /UW  
      Whether the Struts filter should serve static content or not =QG0:z)K<v  
      是否struts过滤器应该提供静态内容 2 D vKW%;  
'P`L?/_3  
struts.tag.altSyntax wI{ED  
      Whether to use the alterative syntax for the tags or not 6 @X j  
      是否可以用替代的语法替代tags <\6<-x(H5  
.29y3}[PO  
struts.ui.templateDir =Z~nzyaN  
      The directory containing UI templates =7l'3z8  
      UI templates的目录夹 {E3329t|'  
}i\U,mH0_&  
struts.ui.theme bdBFDg  
      The default UI template theme 5h!ZoB)n  
      默认的UI template主题 WF&?OHf2  
wJ}9(>id*  
struts.url.http.port ^{l^Z +b.  
      The HTTP port used by Struts URLs p]^?4  
      设置http端口 B098/`r  
;*AK eI2  
struts.url.https.port D,( "3zx  
      The HTTPS port used by Struts URLs %J b/HWC[  
      设置https端口 bAkCk]>5  
O\z]1`i*o  
struts.url.includeParams wU $j/~L  
      The default includeParams method to generate Struts URLs "4Bk  
      在url中产生 默认的includeParams \~4IOu  
+#wh`9[wBt  
H%&e[PU  
struts.velocity.configfile 24; BY'   
      The Velocity configuration file path /l.ox.4z#  
      velocity配置文件路径 x[m&ILr  
caC-JcDXy  
struts.velocity.contexts {wS)M  
      List of Velocity context names {zmh0c; |  
      velocity的context列表 #CcC& I :c  
xkPH_+4i8  
>`S $(f  
struts.velocity.manager.classname #y2IHO-  
      org.apache.struts2.views.velocity.VelocityManager implementation class MzP q(`W  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^:Hx.  
Yg<4}l."  
struts.velocity.toolboxlocation mAZfo53  
      The location of the Velocity toolbox &40# _>W7  
      velocity工具盒的位置 y$h.k"x`  
struts.xslt.nocache #|ILeby  
      Whether or not XSLT templates should not be cached .kT}E5  
      是否XSLT模版应该被缓存 K4`)srd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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