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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \8{\;L C  
)n>+m|IqY(  
struts.action.extension /& r|ec5  
      The URL extension to use to determine if the request is meant for a Struts action ,[* ;UR  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "N 3)Qr  
O#)jr-vXdV  
struts.configuration X3',vey  
      The org.apache.struts2.config.Configuration implementation class ##cnFQCB  
        org.apache.struts2.config.Configuration接口名 H]&gW/=  
FH8k'Hxg  
struts.configuration.files lj4o#^lC  
      A list of configuration files automatically loaded by Struts 1Ipfw  
      struts自动加载的一个配置文件列表 I`T1Pll  
XRxj  W  
struts.configuration.xml.reload B2Z_]q$n*  
      Whether to reload the XML configuration or not >&Y-u%}U  
      是否加载xml配置(true,false) GSi>l,y'  
?s2^zT  
struts.continuations.package Su7bm1  
      The package containing actions that use Rife continuations v+xB7w  
      含有actions的完整连续的package名称 6~xBi(m`  
Ls}7VKl'   
struts.custom.i18n.resources l$XPIC~H  
      Location of additional localization properties files to load 3TS_-l  
      加载附加的国际化属性文件(不包含.properties后缀) XKS8K4"  
yCP4r6X0  
struts.custom.properties /TV= $gB`  
      Location of additional configuration properties files to load /<{:I \<  
      加载附加的配置文件的位置 ]JXKZV8$0  
[M%._u,  
69OF_/23  
struts.devMode E=$p^s  
      Whether Struts is in development mode or not 2YlH}fnH  
      是否为struts开发模式 x`%JI=q  
SwW['c'*]B  
struts.dispatcher.parametersWorkaround b?T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~Lz%.a;o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \)/yC74r7(  
!5Sd2<N  
struts.enable.DynamicMethodInvocation c{Ou^.yR  
      Allows one to disable dynamic method invocation from the URL xfFg,9w8  
        允许动态方法调用 gE])!GMM3  
M{mSd2  
struts.freemarker.manager.classname {A:j[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :J/M,3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t9cl"F=  
=0    
struts.i18n.encoding F_H82BE+3  
      The encoding to use for localization messages 4(8xjL:  
      国际化信息内码 +&i +Mpb  
yZ kyC'/  
struts.i18n.reload S/tIwG ~e3  
      Whether the localization messages should automatically be reloaded Ig6T g ?  
      是否国际化信息自动加载 . (}1%22  
/.z;\=;[n!  
struts.locale (Pbg[AY  
      The default locale for the Struts application y3G `>  
      默认的国际化地区信息 bZ1 78>J]  
r] Lc9dL  
struts.mapper.class ~Z'w)!h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #oni:]E!m  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {Ui =b+  
eq4C+&O&  
struts.multipart.maxSize 4\M.6])_   
      The maximize size of a multipart request (file upload) EYX$pz(x;  
      multipart请求信息的最大尺寸(文件上传用) $O)3 q $|  
p-SJ6Gg 9  
struts.multipart.parser ]#2Y e7+  
      The org.apache.struts2.dispatcher.multipart. 9DQa PA6  
      MultiPartRequest parser implementation for a multipart request (file upload) VQ#3#Hj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tmUFT  
|r%D\EB  
OEx^3z^  
struts.multipart.saveDir eKvV*[N a  
      The directory to use for storing uploaded files cLVeT  
      设置存储上传文件的目录夹 tptN6Isuh  
OTDg5:>  
struts.objectFactory ^-z=`>SrS"  
      The com.opensymphony.xwork2.ObjectFactory implementation class W ~f(::  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H<EQu|f&x  
k%]=!5F  
struts.objectFactory.spring.autoWire GL{57  
      Whether Spring should autoWire or not 9ZXlR?GA  
      是否自动绑定Spring uocHa5J  
:GpDg  
struts.objectFactory.spring.useClassCache UMl#D >:C<  
      Whether Spring should use its class cache or not NKb1LbnZ*y  
      是否spring应该使用自身的cache $37 g]ZD  
%ru;;h  
struts.objectTypeDeterminer 6 GP p>X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  Q6'x\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <Z}SKR"U%  
XxIHoX&  
struts.serve.static.browserCache 3jB$2:#  
If static content served by the Struts filter should set browser caching header properties or not { FZ=olZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3psU?8(  
Z_1U9 +,  
struts.serve.static 7\FXz'hA  
      Whether the Struts filter should serve static content or not V-'K6mn;  
      是否struts过滤器应该提供静态内容 fjk\L\1  
?`zXLY9q7  
struts.tag.altSyntax } :=Tm]S  
      Whether to use the alterative syntax for the tags or not `K~AhlJUQ  
      是否可以用替代的语法替代tags yeDsJ/L  
,1OyN]f3  
struts.ui.templateDir D%6;^^WyUx  
      The directory containing UI templates GaX[C<Wt  
      UI templates的目录夹 g<{xC_J  
HK|ynBAo  
struts.ui.theme $`R6=\|  
      The default UI template theme  <1%f@}+8  
      默认的UI template主题 PxH72hBS  
D?XM,l+  
struts.url.http.port tyaA\F57  
      The HTTP port used by Struts URLs FFdBtB  
      设置http端口 b4^`DHRu6  
0c K{  
struts.url.https.port E|'h]NY  
      The HTTPS port used by Struts URLs M@0;B30L  
      设置https端口 @2'Mt}R>  
2{|h8oz  
struts.url.includeParams L_=3<n E  
      The default includeParams method to generate Struts URLs T^J>ZDA  
      在url中产生 默认的includeParams 0d8%T<=J  
GFr|E8  
\+aC"#+0  
struts.velocity.configfile 5onm]V]  
      The Velocity configuration file path 2^i(gaXUQ  
      velocity配置文件路径 P ;IrBq6|o  
y WV#Up  
struts.velocity.contexts B,,D7cQC  
      List of Velocity context names qOIW(D  
      velocity的context列表 q.,JVGMS  
8 r_>t2$  
Aq3}Ng  
struts.velocity.manager.classname "*G.EiLq  
      org.apache.struts2.views.velocity.VelocityManager implementation class R<OI1,..r  
      org.apache.struts2.views.velocity.VelocityManager接口名 B&D}F=U  
6k#Jpmmr  
struts.velocity.toolboxlocation `ZC<W]WYX/  
      The location of the Velocity toolbox y!!2WHvE  
      velocity工具盒的位置 L:@7tc.  
struts.xslt.nocache Qxj JN^Q  
      Whether or not XSLT templates should not be cached f bUr`~Y"  
      是否XSLT模版应该被缓存 g<~Cpd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五