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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 by @qg:  
V_J0I*Qa4  
struts.action.extension &!X<F,  
      The URL extension to use to determine if the request is meant for a Struts action p]RQ-0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^t4^gcoZ4Z  
';FJs&=I  
struts.configuration #17 &rizl  
      The org.apache.struts2.config.Configuration implementation class V*\hGNV  
        org.apache.struts2.config.Configuration接口名 S}JOS}\^j  
1cOR?=G~  
struts.configuration.files Pq [_(Nt  
      A list of configuration files automatically loaded by Struts DfAF-Yhut  
      struts自动加载的一个配置文件列表 EO)JMV?6  
t/Io.d   
struts.configuration.xml.reload MygAmV&  
      Whether to reload the XML configuration or not D8L5t<^1R  
      是否加载xml配置(true,false) D2&d",%&f  
JyE-c}I  
struts.continuations.package CjpGo}a/  
      The package containing actions that use Rife continuations #G]IEO$M6  
      含有actions的完整连续的package名称 5eff3qrH{  
#9|&;C5',!  
struts.custom.i18n.resources p"%D/-%Gu  
      Location of additional localization properties files to load vEg%ivj3  
      加载附加的国际化属性文件(不包含.properties后缀) 0QZT<Zs  
X|{Tljn  
struts.custom.properties pmB {b  
      Location of additional configuration properties files to load  aO<7a 6  
      加载附加的配置文件的位置 hc q&`Gun  
8C*@d_=q  
WBWW7HK  
struts.devMode &B(z**+9  
      Whether Struts is in development mode or not " 7^nRJy  
      是否为struts开发模式 d|RUxNjM-J  
*xNc^ &.  
struts.dispatcher.parametersWorkaround -8qCCV&1i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1}\p:`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3Sfd|0^  
ulsU~WW7r  
struts.enable.DynamicMethodInvocation 8<Iq)A]'Z  
      Allows one to disable dynamic method invocation from the URL #8et91qw  
        允许动态方法调用 `r1}:`.m,  
}X{rE|@  
struts.freemarker.manager.classname %J-0%-/_S:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3F|p8zPS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sF!#*Y  
pL{oVk#,  
struts.i18n.encoding i RrUIWx  
      The encoding to use for localization messages vGv<WEE  
      国际化信息内码 ]4H)GWHKg  
c@[Trk m  
struts.i18n.reload ?. ` ga*   
      Whether the localization messages should automatically be reloaded G7&TMg7i  
      是否国际化信息自动加载 DK?aFSf\  
M5WB.L[@ q  
struts.locale =8 @DYz'  
      The default locale for the Struts application N[W#wYbH  
      默认的国际化地区信息 0C :8X   
=|i_T%a  
struts.mapper.class %htI!b+"@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3*</vo#`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C+**!uYIB  
]F+|C  
struts.multipart.maxSize i,;JI>U  
      The maximize size of a multipart request (file upload) qa^cJ1@  
      multipart请求信息的最大尺寸(文件上传用) $}su 'EIo  
0L/chP  
struts.multipart.parser LnE/62){N  
      The org.apache.struts2.dispatcher.multipart. ,7@\e &/&  
      MultiPartRequest parser implementation for a multipart request (file upload) X,w X)9]J  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }BC%(ZH6  
*w@ 1@6?j  
Cqnuf5e>L  
struts.multipart.saveDir aH. "| *.  
      The directory to use for storing uploaded files ]?(kaNQ "D  
      设置存储上传文件的目录夹 v1{j1~ZR  
6Pl|FI JF  
struts.objectFactory VVSt,/SO  
      The com.opensymphony.xwork2.ObjectFactory implementation class flPS+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hYzP6?K"  
>Gpq{Ph[  
struts.objectFactory.spring.autoWire 4q]6[/  
      Whether Spring should autoWire or not -/?)0E  
      是否自动绑定Spring gNW+Dq|X%  
^ELZ35=qZ  
struts.objectFactory.spring.useClassCache C,+  
      Whether Spring should use its class cache or not imif[n+]}d  
      是否spring应该使用自身的cache ;'{7wr|9  
Zm0VaOT$I  
struts.objectTypeDeterminer 23r(4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qj _0 td$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'zm5wqrkAd  
}MOXJb @  
struts.serve.static.browserCache v)O0i2  
If static content served by the Struts filter should set browser caching header properties or not 3/]1m9x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E$ \l57  
[E p'm  
struts.serve.static rEWJ3*Hb  
      Whether the Struts filter should serve static content or not "yQBHYP  
      是否struts过滤器应该提供静态内容 B<EqzP*#  
 ]+Whv%M  
struts.tag.altSyntax ~!Sd|e:4  
      Whether to use the alterative syntax for the tags or not 2*75*EQCH  
      是否可以用替代的语法替代tags +TqrvI.  
nV8'QDQ:Al  
struts.ui.templateDir TXi|  
      The directory containing UI templates :7LA/j  
      UI templates的目录夹 m?Y-1!E0  
~RVlc;W  
struts.ui.theme < +*  
      The default UI template theme =,zB|sjn  
      默认的UI template主题 #,z-Pj?O!  
&V*MNi,4Z  
struts.url.http.port jz" >Kh.}  
      The HTTP port used by Struts URLs 8zHx$g  
      设置http端口 8i[TeW"  
Kuh3.1#o  
struts.url.https.port H (;@7dh  
      The HTTPS port used by Struts URLs %WU=Vy4  
      设置https端口 zlEI_th:~  
A<|9</9z  
struts.url.includeParams X8m-5(uW  
      The default includeParams method to generate Struts URLs \r:*`Z*y  
      在url中产生 默认的includeParams GkU_01C  
#$W5)6ch  
1"CWEL`i  
struts.velocity.configfile ?rOj?J9  
      The Velocity configuration file path `WH$rx!  
      velocity配置文件路径 2+y wy^  
i ed 1+H  
struts.velocity.contexts ;MGm,F,o  
      List of Velocity context names H_f8/H  
      velocity的context列表 ?S& yF  
p7> 9 m  
% WDTnEm  
struts.velocity.manager.classname .iR<5.  
      org.apache.struts2.views.velocity.VelocityManager implementation class AsE77AUA  
      org.apache.struts2.views.velocity.VelocityManager接口名 r1 :TM|5L  
wA$?e}  
struts.velocity.toolboxlocation 7HW:;2dL  
      The location of the Velocity toolbox ng+sK  
      velocity工具盒的位置 <|k :%  
struts.xslt.nocache .b_ppieNY  
      Whether or not XSLT templates should not be cached +PE-j| D  
      是否XSLT模版应该被缓存 BC!) g+8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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