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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M1u{A^d.Z  
ms~8QL  
struts.action.extension )fh0&Y; R  
      The URL extension to use to determine if the request is meant for a Struts action et$uP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qSiWnN8D t  
H}b\`N[nr  
struts.configuration 9XV^z*E(J  
      The org.apache.struts2.config.Configuration implementation class IjZ@U%g@;  
        org.apache.struts2.config.Configuration接口名 !Ua&0s%  
t<b3K-  
struts.configuration.files ?~2Bi^W5  
      A list of configuration files automatically loaded by Struts !0fI"3P@r  
      struts自动加载的一个配置文件列表 x,Y 5U+]E  
h[=nx^  
struts.configuration.xml.reload 6f] rQ9  
      Whether to reload the XML configuration or not LD55n%|0`H  
      是否加载xml配置(true,false) FrZ]=:  
d(L{!mm  
struts.continuations.package v$$]Gv(  
      The package containing actions that use Rife continuations m@ oUvxcd  
      含有actions的完整连续的package名称 ; Zq/eiB  
}e=e",eAT  
struts.custom.i18n.resources A 0#Y, 1  
      Location of additional localization properties files to load yr4ou  
      加载附加的国际化属性文件(不包含.properties后缀) mtw9AoO  
g"y?nF.&F  
struts.custom.properties n,KA&)/s  
      Location of additional configuration properties files to load aR:<<IF\  
      加载附加的配置文件的位置 LV.&>@*  
D@vMAW  
#@_ 1fE  
struts.devMode ^Rmoz1d  
      Whether Struts is in development mode or not ,k*F`.[  
      是否为struts开发模式 4MX7=!E  
x N`T  
struts.dispatcher.parametersWorkaround vR]mSX3)?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u@D .i4U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k!E"wJkpz  
.[f;(WR  
struts.enable.DynamicMethodInvocation |U=(b,  
      Allows one to disable dynamic method invocation from the URL jzrt7p*k}  
        允许动态方法调用 .xpmp6-  
aIu2>  
struts.freemarker.manager.classname j-* TXog  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c$#GM57V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .3g&9WvN!Z  
2X_>vIlEm  
struts.i18n.encoding 4 =Fg!Eu<  
      The encoding to use for localization messages H7jTQW0rp5  
      国际化信息内码 cV]y=q 6  
WEVl9]b'e+  
struts.i18n.reload ^K*-G@B  
      Whether the localization messages should automatically be reloaded _$(GRNRYK  
      是否国际化信息自动加载 k5X b}@  
d;g-3Pf  
struts.locale (9z|a ,  
      The default locale for the Struts application  ^Fp=y,D  
      默认的国际化地区信息 #{w5)|S#JD  
g8Aj `O  
struts.mapper.class gfVDqDF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <|V'pim  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0 pNo`Bm  
#HDesen  
struts.multipart.maxSize yfq>,  
      The maximize size of a multipart request (file upload) yjeL9:jH[  
      multipart请求信息的最大尺寸(文件上传用) 6J;i,/ky  
 h,hL?imD  
struts.multipart.parser 6EP~F8Kd  
      The org.apache.struts2.dispatcher.multipart. +:y&{K  
      MultiPartRequest parser implementation for a multipart request (file upload) lA4hm4"i(,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &(0N.=R  
O0zi@2m?B  
 V IYV92[  
struts.multipart.saveDir ux&:Rw\  
      The directory to use for storing uploaded files ) MBS  
      设置存储上传文件的目录夹 "VQ|E d  
MHNe>C-!q  
struts.objectFactory gA:[3J,[;  
      The com.opensymphony.xwork2.ObjectFactory implementation class CK Mv7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Z^+a*^w~{  
U IQ 6SvM  
struts.objectFactory.spring.autoWire K#;txzi  
      Whether Spring should autoWire or not )"-fHW+fy  
      是否自动绑定Spring `uhL61cMp  
r\bq[9dX>  
struts.objectFactory.spring.useClassCache ] ?9t-  
      Whether Spring should use its class cache or not c 85O_J  
      是否spring应该使用自身的cache :H3(w|T/  
.m!s". ?[  
struts.objectTypeDeterminer sZEgsrJh  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E- KK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @>CG3`?}  
b.,$# D{p  
struts.serve.static.browserCache L"9 Gc  
If static content served by the Struts filter should set browser caching header properties or not 1)gv%_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 776 nWw)  
!*8#jy  
struts.serve.static PAr|1i)mB  
      Whether the Struts filter should serve static content or not 3z$HKG  
      是否struts过滤器应该提供静态内容 /evaTQPz  
FSVS4mtiX\  
struts.tag.altSyntax Q_v\1"c  
      Whether to use the alterative syntax for the tags or not 3f,u}1npa*  
      是否可以用替代的语法替代tags {N Y]L==H  
4UazD_`'  
struts.ui.templateDir -g<cinNSp  
      The directory containing UI templates tnNZ`]qY  
      UI templates的目录夹 pr)K{~m]{<  
#a.\P.{L  
struts.ui.theme Kf&r21h  
      The default UI template theme u IF$u  
      默认的UI template主题 !rz)bd3$  
n)Hk8)^8  
struts.url.http.port RAdvIIQp:  
      The HTTP port used by Struts URLs T[m ~6  
      设置http端口 Q{8qm<0g  
SUo^c1)G  
struts.url.https.port +=Yk-nJ  
      The HTTPS port used by Struts URLs G tG&yeB  
      设置https端口 :(+]b  
b%<164i  
struts.url.includeParams  srvYAAE  
      The default includeParams method to generate Struts URLs | [p68v>  
      在url中产生 默认的includeParams "zXGp7Q'#  
Ys)+9yPPn  
Sr-|,\/O  
struts.velocity.configfile ( -xR7A  
      The Velocity configuration file path 17|@f  
      velocity配置文件路径 R&#[6 r(h  
5nY9Ls(e  
struts.velocity.contexts /!:L7@BZ  
      List of Velocity context names vs+ We*8H  
      velocity的context列表 8~}s 3j4  
d RHlx QUn  
S\}?zlV  
struts.velocity.manager.classname #i@ACAgn;6  
      org.apache.struts2.views.velocity.VelocityManager implementation class otoBb^Mz  
      org.apache.struts2.views.velocity.VelocityManager接口名 M9h<}mh\  
HUK" OH  
struts.velocity.toolboxlocation (K<Z=a  
      The location of the Velocity toolbox Tln9q0"W  
      velocity工具盒的位置 <( cM*kV  
struts.xslt.nocache 3.B4(9:>,  
      Whether or not XSLT templates should not be cached ]v<d0" 2  
      是否XSLT模版应该被缓存 CGCQa0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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