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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !+T9NqDv[  
ZHxdrX)  
struts.action.extension \WD}@6) ~  
      The URL extension to use to determine if the request is meant for a Struts action < C\snB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /H+j6*}r  
a;AvY O  
struts.configuration }Vw"7  
      The org.apache.struts2.config.Configuration implementation class 4/S% eZB  
        org.apache.struts2.config.Configuration接口名 ya]CxnKR3  
A{Giz&p  
struts.configuration.files DSyfF&uC  
      A list of configuration files automatically loaded by Struts 4{rwNBj(  
      struts自动加载的一个配置文件列表 m#+0uZm(  
<`EZ^S L;  
struts.configuration.xml.reload %&bO+$H3  
      Whether to reload the XML configuration or not ^8dJJ*  
      是否加载xml配置(true,false) &1:xY.Zs_  
:)+|q  
struts.continuations.package ^9eJ)12pK  
      The package containing actions that use Rife continuations CuPZ0  
      含有actions的完整连续的package名称 ysA~Nq@  
$b;9oST  
struts.custom.i18n.resources }p0|.Qu9  
      Location of additional localization properties files to load r8XY"<  
      加载附加的国际化属性文件(不包含.properties后缀) 50Z$3T  
n~ \"W  
struts.custom.properties BnH< -n_  
      Location of additional configuration properties files to load heiIb|z  
      加载附加的配置文件的位置 d?_Bll"  
5nIm7vlQm  
xMDx<sk  
struts.devMode 8$<jd^w  
      Whether Struts is in development mode or not fU_itb(  
      是否为struts开发模式 DPn]de:e  
2.O;  
struts.dispatcher.parametersWorkaround i'|rx2]e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ji  SJi?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hKb-l`KO  
me@4lHBR  
struts.enable.DynamicMethodInvocation X b-q:{r1h  
      Allows one to disable dynamic method invocation from the URL +_uT1PsBY  
        允许动态方法调用 K2<Q9 ,vt  
aG QC  
struts.freemarker.manager.classname uW!',"0ER  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P: &XtpP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 xqv4gN6  
siw } }}  
struts.i18n.encoding > Zo_-,  
      The encoding to use for localization messages [*w^|b ?  
      国际化信息内码 V%?oI]" l  
zDY!0QZLF\  
struts.i18n.reload )BudV zg  
      Whether the localization messages should automatically be reloaded 7{j9vl6  
      是否国际化信息自动加载 /02|b}{  
SnVIV%  
struts.locale #(-V^ T  
      The default locale for the Struts application u|ia  
      默认的国际化地区信息 xlF$PpRNM  
t_c;4iE  
struts.mapper.class o~H4<ayy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8D[P*?O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &; 5QB  
iZGc'y  
struts.multipart.maxSize D]v=/43  
      The maximize size of a multipart request (file upload) }s{RW<A  
      multipart请求信息的最大尺寸(文件上传用) OOS(YP@b  
tsR\c O~/  
struts.multipart.parser F>E'/r*  
      The org.apache.struts2.dispatcher.multipart. jgbUZP4J>  
      MultiPartRequest parser implementation for a multipart request (file upload) qsn6i%VH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fy8KZWim  
fk,[`n+  
=7ul,  
struts.multipart.saveDir fb[f >1|  
      The directory to use for storing uploaded files =ZjF5,@  
      设置存储上传文件的目录夹 x3O$eKy\|5  
y ?]G OQI  
struts.objectFactory vK)^;T ;  
      The com.opensymphony.xwork2.ObjectFactory implementation class DSad[>Uj],  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xJrRJwL  
#+V-65v  
struts.objectFactory.spring.autoWire F`-|@k  
      Whether Spring should autoWire or not w;}pebL:  
      是否自动绑定Spring Q~<$'j  
eZR{M\Q  
struts.objectFactory.spring.useClassCache wQJY,|.  
      Whether Spring should use its class cache or not Y s[JxP  
      是否spring应该使用自身的cache 74ma   
ae( o:G  
struts.objectTypeDeterminer =xScHy{$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B ?96d'A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lDd+.44V:  
Se+sgw_"  
struts.serve.static.browserCache v.H00}[.  
If static content served by the Struts filter should set browser caching header properties or not Wfgs[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4ihv|%@  
udM<jY]5p  
struts.serve.static XZhuV<  
      Whether the Struts filter should serve static content or not iZ2|/hnw  
      是否struts过滤器应该提供静态内容 6 ?F F !x  
=FQ]eb*  
struts.tag.altSyntax !mH2IjcL  
      Whether to use the alterative syntax for the tags or not >Du5B&41  
      是否可以用替代的语法替代tags C4e3Itc9X  
$EHAHNL?Lx  
struts.ui.templateDir d-nqV5  
      The directory containing UI templates W*i PseXq  
      UI templates的目录夹 x0B|CO  
WgPpW!`  
struts.ui.theme K4NB#  
      The default UI template theme 2i`N26On  
      默认的UI template主题 H5uWI  
6O8'T`F[  
struts.url.http.port <&E3QeK  
      The HTTP port used by Struts URLs TcA+ov>TD  
      设置http端口 7sZVN  
F`goYwA%  
struts.url.https.port ,\ zp&P"p  
      The HTTPS port used by Struts URLs P3C|DO4  
      设置https端口 Rf2$k/lZ  
<X~ X#9V  
struts.url.includeParams S@;>lw,s!  
      The default includeParams method to generate Struts URLs #aUe7~  
      在url中产生 默认的includeParams  *e{d^  
H^sPC{6+pf  
% FW__SN$c  
struts.velocity.configfile rld4uy}m  
      The Velocity configuration file path X'4e)E3*O  
      velocity配置文件路径 [ah%>&u  
HV ab14}E  
struts.velocity.contexts 'p,QI>  
      List of Velocity context names fvccut;K  
      velocity的context列表 7JNhCOBB  
W#!![JDc  
&niROM,;K  
struts.velocity.manager.classname 7c$;-O  
      org.apache.struts2.views.velocity.VelocityManager implementation class v[WbQ5AND  
      org.apache.struts2.views.velocity.VelocityManager接口名 )$V}tr!  
\ a18Hp|%  
struts.velocity.toolboxlocation 9Y&,dBj+  
      The location of the Velocity toolbox a.QF`J4"'  
      velocity工具盒的位置 zbn0)JO  
struts.xslt.nocache @bU(z$eB  
      Whether or not XSLT templates should not be cached [Dd?c,5AD  
      是否XSLT模版应该被缓存 95jJ"4a+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八