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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ja-,6*"k  
l^cz&k=+  
struts.action.extension 6)h~9iK  
      The URL extension to use to determine if the request is meant for a Struts action j=up7395  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "XB6k 0.#  
o..iT:f;n  
struts.configuration L!c.1Rf_  
      The org.apache.struts2.config.Configuration implementation class !>8/Xz~-  
        org.apache.struts2.config.Configuration接口名 F*Y]^9]  
w;wgh`ur  
struts.configuration.files CZzgPId%x  
      A list of configuration files automatically loaded by Struts f;`7}7C  
      struts自动加载的一个配置文件列表 2Kmnt(>  
.gJv})Vi  
struts.configuration.xml.reload Xt%y>'.  
      Whether to reload the XML configuration or not uBUT84i  
      是否加载xml配置(true,false) U>-GM >  
i"h~QEE  
struts.continuations.package o'KBe%@/  
      The package containing actions that use Rife continuations :#zVF[Y(2  
      含有actions的完整连续的package名称 sPP(>y( \  
i6Fvi Zx  
struts.custom.i18n.resources )F\^-laMuK  
      Location of additional localization properties files to load  oB8LJZ;  
      加载附加的国际化属性文件(不包含.properties后缀) ml1My1  
sDZ<X A  
struts.custom.properties ?X'l&k>  
      Location of additional configuration properties files to load <*@!>6mS  
      加载附加的配置文件的位置 GTocN1,Z~a  
f5`q9w_c  
q |Orv =v  
struts.devMode [!S%nYs&8L  
      Whether Struts is in development mode or not ($X2SIZh  
      是否为struts开发模式 m:W+s4!E  
r]B`\XWz  
struts.dispatcher.parametersWorkaround 6sQY)F7p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (Rs|"];?Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c?%}J\<n  
nj <nW5[  
struts.enable.DynamicMethodInvocation G Tz>}@W  
      Allows one to disable dynamic method invocation from the URL %%{f-\-7Ig  
        允许动态方法调用 (,j ~s{  
6[3>[ej:x  
struts.freemarker.manager.classname j\\uW)ibG  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g?gF*^_0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C>*1f|<  
Blox~=cW  
struts.i18n.encoding Q- }cB  
      The encoding to use for localization messages x4CSUcKb  
      国际化信息内码 J] )gXVRM  
b\Mb6s  
struts.i18n.reload qM(@wFg  
      Whether the localization messages should automatically be reloaded xxZO{_q  
      是否国际化信息自动加载 XNr8,[c  
,CP&o  
struts.locale IWT -)+  
      The default locale for the Struts application {O_`eS  
      默认的国际化地区信息 i{7Vh0n3S-  
Fvr$K*u  
struts.mapper.class S^7u`-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^5Ob(FvU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4vMjVbr  
Z^t{m!v  
struts.multipart.maxSize 5n1T7-QCL  
      The maximize size of a multipart request (file upload) r:Ok z  
      multipart请求信息的最大尺寸(文件上传用) >l=;6QL  
*lBX/O`=  
struts.multipart.parser h/NI5   
      The org.apache.struts2.dispatcher.multipart. #^9a[ZLj0  
      MultiPartRequest parser implementation for a multipart request (file upload) tKCX0UZ'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,xg(F0q  
Id?2(Tg  
C4|H 5H  
struts.multipart.saveDir /& o<kY  
      The directory to use for storing uploaded files _m#P\f'p  
      设置存储上传文件的目录夹 t&MLgu  
suFO~/lRno  
struts.objectFactory Ih%LKFT  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,H@ x.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) p&lT! 5P!A  
a/gr1  
struts.objectFactory.spring.autoWire ,F?O} ijk  
      Whether Spring should autoWire or not X8 x:/]/0  
      是否自动绑定Spring E.4 X,  
>8EmfjUoc  
struts.objectFactory.spring.useClassCache ;BW-ag \9  
      Whether Spring should use its class cache or not 8.tp#x,A  
      是否spring应该使用自身的cache L[. )!c8k  
psAr>:\3  
struts.objectTypeDeterminer _YA;Nd#%k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B i`m+ob  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K{`3,U2Wx  
 <xwaFZ  
struts.serve.static.browserCache "64D.c(r$  
If static content served by the Struts filter should set browser caching header properties or not qj*77  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <(x!P=NM-  
nzl3<Ar  
struts.serve.static :Y[?@/m4  
      Whether the Struts filter should serve static content or not xX\A& 9m  
      是否struts过滤器应该提供静态内容 w!/|aZ~*  
Ht7v+lY90^  
struts.tag.altSyntax 9@8)ZHf  
      Whether to use the alterative syntax for the tags or not GQ1m h*4$  
      是否可以用替代的语法替代tags _MzdbUb5,  
gjPbhY=C[  
struts.ui.templateDir s%@HchZ 1  
      The directory containing UI templates AxiCpAS;J  
      UI templates的目录夹 $j'8Z^  
BF(Kaf;<t.  
struts.ui.theme SAUG+{Uq  
      The default UI template theme dk@iAL*v  
      默认的UI template主题 Rqun}v}  
#QKgY7  
struts.url.http.port FfibR\dhY  
      The HTTP port used by Struts URLs I#:,!vjn  
      设置http端口 {AO`[  
vU!<-T#  
struts.url.https.port V w5@)l*f  
      The HTTPS port used by Struts URLs ? W2W y\  
      设置https端口 r&O:Bt}x  
csms8J  
struts.url.includeParams skBzwVW I  
      The default includeParams method to generate Struts URLs ; d :i  
      在url中产生 默认的includeParams 7=@Mn F`  
+KHk`2{y~  
 2D"\Ox  
struts.velocity.configfile -"w&g0Z  
      The Velocity configuration file path J85Kgd1 \a  
      velocity配置文件路径 W%P0X5YQ  
!K/zFYl  
struts.velocity.contexts 'Q4V(.   
      List of Velocity context names Y[`%j\=  
      velocity的context列表 j(`V& S  
jWerX -$  
Yf[GpSej  
struts.velocity.manager.classname 1" #W1im  
      org.apache.struts2.views.velocity.VelocityManager implementation class #brV{dHV,  
      org.apache.struts2.views.velocity.VelocityManager接口名 %^<A` Q_  
S0mF %"  
struts.velocity.toolboxlocation @+^5ze\  
      The location of the Velocity toolbox a+p_47 xa  
      velocity工具盒的位置 U?yKwH^{  
struts.xslt.nocache %|gj46  
      Whether or not XSLT templates should not be cached ]?j[P=\  
      是否XSLT模版应该被缓存 =y1/V'2E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八