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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E;4B!"Q8  
"%+||IyW  
struts.action.extension XUh&an$  
      The URL extension to use to determine if the request is meant for a Struts action H7P}=YW".  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <dE~z]P  
S LeA,T  
struts.configuration x=a#|]ngG  
      The org.apache.struts2.config.Configuration implementation class aM1WC 'c&)  
        org.apache.struts2.config.Configuration接口名 U';)]vB$  
qi7*Jjk>90  
struts.configuration.files +PLJ  
      A list of configuration files automatically loaded by Struts 3I)oqS@q'  
      struts自动加载的一个配置文件列表 5wh(Qdib  
@ N'P?i  
struts.configuration.xml.reload ib 'l:GM  
      Whether to reload the XML configuration or not e 2N F.  
      是否加载xml配置(true,false) *y|w9 r p  
F=5vA v1  
struts.continuations.package tj0 0xYY  
      The package containing actions that use Rife continuations ;nbEV2Y<  
      含有actions的完整连续的package名称 *c/|/  
I]5){Q" S  
struts.custom.i18n.resources n#WOIweInf  
      Location of additional localization properties files to load muF&t'k  
      加载附加的国际化属性文件(不包含.properties后缀) z=>PjIW  
>wb*kyO7(#  
struts.custom.properties -{JReplc  
      Location of additional configuration properties files to load P| ?nx"c  
      加载附加的配置文件的位置 +/n]9l]#h  
Ekrpg^3qp"  
w""u]b%:r  
struts.devMode s5{H15  
      Whether Struts is in development mode or not +kxk z"fP  
      是否为struts开发模式 @W(,|xES  
d/*EuJYin<  
struts.dispatcher.parametersWorkaround ~ W8 M3(^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R*W1<W%q=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F{7 BY~d  
b+ZaZ\-y |  
struts.enable.DynamicMethodInvocation {/?{UbU  
      Allows one to disable dynamic method invocation from the URL P??pWzb6HH  
        允许动态方法调用 ^dxy%*Z/  
uF|[MWcy0#  
struts.freemarker.manager.classname 6~s{HI!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ci(BPnQ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (lYC2i_b#  
B1i'Mzm-4  
struts.i18n.encoding _ J"J[$  
      The encoding to use for localization messages cY~lDLyB  
      国际化信息内码 Z,XivU&  
ih:%U  
struts.i18n.reload Ja\B%f  
      Whether the localization messages should automatically be reloaded u6\W"LW  
      是否国际化信息自动加载 ={190=\9  
g8"{smP/  
struts.locale )In;nc  
      The default locale for the Struts application X)[QEq^  
      默认的国际化地区信息 7#T@CKdUd  
=E~SaT  
struts.mapper.class 2PSv3?".  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;]/cCi  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J/vcP  
xxdxRy9/  
struts.multipart.maxSize 9B3}LVg\  
      The maximize size of a multipart request (file upload) ><6g-+*k  
      multipart请求信息的最大尺寸(文件上传用) FEA/}*2F  
gp{P _  
struts.multipart.parser <lSo7NkR  
      The org.apache.struts2.dispatcher.multipart. = &U7:u  
      MultiPartRequest parser implementation for a multipart request (file upload) Qm?o^%a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T5 BoOVgO  
u/?;J1z:  
+n8,=}  
struts.multipart.saveDir iF+50d  
      The directory to use for storing uploaded files _NbhWv  
      设置存储上传文件的目录夹 -32.g \]  
yucbEDO.  
struts.objectFactory nQ'AB~ Do  
      The com.opensymphony.xwork2.ObjectFactory implementation class |:`gjl_Nf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vnz}Pr! c  
_~ 7cn  
struts.objectFactory.spring.autoWire K~z9b4a>  
      Whether Spring should autoWire or not /#?i+z   
      是否自动绑定Spring #+P)X_i`  
zhde1JE  
struts.objectFactory.spring.useClassCache W;wu2'  
      Whether Spring should use its class cache or not 3^AS8%qG  
      是否spring应该使用自身的cache 4dvuw{NZ  
8,(5Q  
struts.objectTypeDeterminer RD p(Ci  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #EU x1II  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C[(Exe  
R:DW>LB  
struts.serve.static.browserCache {R. @EFkZ  
If static content served by the Struts filter should set browser caching header properties or not FY]z*=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +xtR`Y"  
 0bk094  
struts.serve.static [mk!] r  
      Whether the Struts filter should serve static content or not Fop "m/  
      是否struts过滤器应该提供静态内容 +EgQj*F*  
g8w5X!Z  
struts.tag.altSyntax =Wk!mGc  
      Whether to use the alterative syntax for the tags or not e c`3Qw  
      是否可以用替代的语法替代tags Kth^WHL  
@7';bfsix  
struts.ui.templateDir P/FO,S-V  
      The directory containing UI templates PDssEb7  
      UI templates的目录夹 I6FglVQ6  
G P/3r[MH  
struts.ui.theme TNC,{sM  
      The default UI template theme  0$l D  
      默认的UI template主题 m/0t; cx  
Ye_)~,{,p  
struts.url.http.port -3c?Yaf"  
      The HTTP port used by Struts URLs l4d2 i;4BK  
      设置http端口 n2H2G_-L[  
=X2EF  
struts.url.https.port q-}J0vu\K  
      The HTTPS port used by Struts URLs '&}B"1  
      设置https端口 R('44v5JQp  
,saf"Ed=  
struts.url.includeParams KyAQzN9  
      The default includeParams method to generate Struts URLs vf(\?Js ,  
      在url中产生 默认的includeParams %zB `Sd<  
A_@#V)D2  
4>Q6!"  
struts.velocity.configfile @&2bLJJ+  
      The Velocity configuration file path z>hG'  
      velocity配置文件路径 E7axINca  
*, o)`  
struts.velocity.contexts 8\t~ *@"  
      List of Velocity context names *Oo2rk nQ  
      velocity的context列表 I/MYS5}  
!UlG! 820  
qMz0R\4  
struts.velocity.manager.classname >+fet ,  
      org.apache.struts2.views.velocity.VelocityManager implementation class (Y!@,rKd   
      org.apache.struts2.views.velocity.VelocityManager接口名 KaHjL&!  
+B%ZB9  
struts.velocity.toolboxlocation UMw1&"0:  
      The location of the Velocity toolbox l>S~)FNwXJ  
      velocity工具盒的位置  #IyxH$  
struts.xslt.nocache q!9SANTx  
      Whether or not XSLT templates should not be cached uQ{ &x6.1  
      是否XSLT模版应该被缓存 4jj@"*^a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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