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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X'k w5P!sq  
3BY/&'oX  
struts.action.extension q/;mxq$  
      The URL extension to use to determine if the request is meant for a Struts action v[Q)cqj/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .&sguAyG  
E*(Q'p9C  
struts.configuration GGJ_,S*  
      The org.apache.struts2.config.Configuration implementation class S BFhC  
        org.apache.struts2.config.Configuration接口名 Y\+^\`Tqu  
N e^#5T  
struts.configuration.files jb7=1OPD_  
      A list of configuration files automatically loaded by Struts 'Fonn  
      struts自动加载的一个配置文件列表 %i.|bIhmm  
]G1j\wnF  
struts.configuration.xml.reload 2$\f !6p  
      Whether to reload the XML configuration or not s|,]Nb=z/  
      是否加载xml配置(true,false) ZM|>Va/X  
b%oma{I=.c  
struts.continuations.package etTuukq_Z  
      The package containing actions that use Rife continuations 50I6:=@\\  
      含有actions的完整连续的package名称 mceSUKI;L  
1Rczf(,aT  
struts.custom.i18n.resources 8ZIv:nO$  
      Location of additional localization properties files to load iGhapD  
      加载附加的国际化属性文件(不包含.properties后缀) M2s   
9&d BL0  
struts.custom.properties |HG%o 3E]  
      Location of additional configuration properties files to load qS2%U?S7  
      加载附加的配置文件的位置 0I#<-9&d-  
0(i`~g5  
[;?^DAnK2  
struts.devMode I* bjE '  
      Whether Struts is in development mode or not 61mQJHl.  
      是否为struts开发模式 N$y4>g  
 >#q|Pjv]  
struts.dispatcher.parametersWorkaround vaQ,l6z .h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M}nalr+#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &>s(f-\8  
AoR`/tr,  
struts.enable.DynamicMethodInvocation &a|oJ'clz  
      Allows one to disable dynamic method invocation from the URL TM"-X\e~{  
        允许动态方法调用 <=zGaU,  
#zy%B  
struts.freemarker.manager.classname 0)P18n"$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C$tSsw?A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ':>B %k  
r! M2H {  
struts.i18n.encoding |SxEJ  
      The encoding to use for localization messages 7q\c\qL  
      国际化信息内码 NNfCJ|  
nuCK7X  
struts.i18n.reload ;=7z!:)  
      Whether the localization messages should automatically be reloaded ~'U;).C  
      是否国际化信息自动加载 uZYeru"w  
<]9MgfAe  
struts.locale lyi}q"Kn*;  
      The default locale for the Struts application G{"1  I  
      默认的国际化地区信息 %b*%'#iK  
JJ+<?CeHD  
struts.mapper.class [-CG&l2?L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -0]aOT--  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 NRl"!FSD;"  
zJsoenU  
struts.multipart.maxSize r zvX~B6  
      The maximize size of a multipart request (file upload) 2Z97Tq  
      multipart请求信息的最大尺寸(文件上传用) ,S5#Kka~a  
2tbqmWw/s  
struts.multipart.parser :J~j*_hZ  
      The org.apache.struts2.dispatcher.multipart. bo*q{@Ue  
      MultiPartRequest parser implementation for a multipart request (file upload) B@=Yj_s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O<E0L&4-&  
yp4G"\hN9  
0GR9opZtA  
struts.multipart.saveDir +/X'QB$R  
      The directory to use for storing uploaded files =QC^7T  
      设置存储上传文件的目录夹 e"2QV vB  
c[YjGx  
struts.objectFactory zm"\D vN)  
      The com.opensymphony.xwork2.ObjectFactory implementation class J{Ay(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Cn55%:  
[x)e6p)  
struts.objectFactory.spring.autoWire OMZT\$9yT  
      Whether Spring should autoWire or not m3WV<Cbz  
      是否自动绑定Spring w\mF2h  
N<{ `n;  
struts.objectFactory.spring.useClassCache BmM,vllO  
      Whether Spring should use its class cache or not 7^iAc6QSy3  
      是否spring应该使用自身的cache *Q>:|F[vM  
j*zK"n  
struts.objectTypeDeterminer M'HOw)U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b1#=q0Zl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t#q> U%!  
Ocb2XEF  
struts.serve.static.browserCache "h2Ny#  
If static content served by the Struts filter should set browser caching header properties or not |]q=D1/A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 saT9%?4-  
%C)JmaQ{9  
struts.serve.static 5;{Bdvcv  
      Whether the Struts filter should serve static content or not y(dS1.5F  
      是否struts过滤器应该提供静态内容 Z~uKT n  
br;G5^j3?  
struts.tag.altSyntax 42u\Y_^ID  
      Whether to use the alterative syntax for the tags or not md`ToU  
      是否可以用替代的语法替代tags m=9 N^_  
H6I #Xj  
struts.ui.templateDir "uCQm '  
      The directory containing UI templates |rvrSab)  
      UI templates的目录夹 c|R/,/  
jQb D2x6(  
struts.ui.theme 9PJDT]  
      The default UI template theme Z C93C7lJ  
      默认的UI template主题 Kzb@JBIF  
9X%Klm 5w  
struts.url.http.port @5wg'mM  
      The HTTP port used by Struts URLs E1C_d'  
      设置http端口 NM@An2  
=F&RQ}$   
struts.url.https.port [*G2wP[$  
      The HTTPS port used by Struts URLs 2UF94  
      设置https端口 mc'p-orAf  
DSC4  
struts.url.includeParams `/zt&=`VB  
      The default includeParams method to generate Struts URLs Dkb&/k:)  
      在url中产生 默认的includeParams 2FzS_\":I  
RV` j>1  
{H V,2-z  
struts.velocity.configfile RuZ;hnE&  
      The Velocity configuration file path ='0!B]<G  
      velocity配置文件路径 }#8uXA  
? st#6=M  
struts.velocity.contexts 50&F#v%YB  
      List of Velocity context names +][P*/Ek  
      velocity的context列表 $at|1+bQ  
d mz3O(]$  
YZl%JX  
struts.velocity.manager.classname ,7P^]V1  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6W=:`14  
      org.apache.struts2.views.velocity.VelocityManager接口名 "^z=r]<5  
A232"p_  
struts.velocity.toolboxlocation E5 oD|'=WA  
      The location of the Velocity toolbox Y2-bU 7mo  
      velocity工具盒的位置 >n~p1:$  
struts.xslt.nocache HIm, "iYk  
      Whether or not XSLT templates should not be cached S=p u  
      是否XSLT模版应该被缓存 7Ca\ (82  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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