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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r!<)CT}D  
[.Rdq]w6  
struts.action.extension 3iIURSG@  
      The URL extension to use to determine if the request is meant for a Struts action I~ 1Rt+:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2C Fgit  
Fhrj$  
struts.configuration H?_wsh4J  
      The org.apache.struts2.config.Configuration implementation class %Ze]6TP/><  
        org.apache.struts2.config.Configuration接口名 %M*2j%6  
2EH0d6nt  
struts.configuration.files $(]E$ek  
      A list of configuration files automatically loaded by Struts L.s$|%  
      struts自动加载的一个配置文件列表 Q_)$Ha{>H,  
C"QB`f:  
struts.configuration.xml.reload R $@$  
      Whether to reload the XML configuration or not m%cwhH_B  
      是否加载xml配置(true,false) b~*CJ8Ad  
f+lPQIB  
struts.continuations.package CjGQ  
      The package containing actions that use Rife continuations J(:y-U  
      含有actions的完整连续的package名称 Mi} .  
] T<#bNK\1  
struts.custom.i18n.resources W1&"dT@  
      Location of additional localization properties files to load fZp3g%u  
      加载附加的国际化属性文件(不包含.properties后缀) 4" pU\g  
C~IE_E&Q`  
struts.custom.properties W]5Hc|!^^  
      Location of additional configuration properties files to load A">R-1R  
      加载附加的配置文件的位置 @1A.$:  
j[A:So  
CK#i 6!~r  
struts.devMode %NDr5E^cc  
      Whether Struts is in development mode or not SZUo RWx  
      是否为struts开发模式 )b1X6w[  
4t-l@zFWb  
struts.dispatcher.parametersWorkaround v_Hy:O}R  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fDRG+/q(+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F!fsW9  
";;!c.!^  
struts.enable.DynamicMethodInvocation XE]"RD<z  
      Allows one to disable dynamic method invocation from the URL e{H(  
        允许动态方法调用 e$Mvl=NYp\  
/Pxny3  
struts.freemarker.manager.classname 6OB3%R'p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y\ })C-&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TPs ]n7]:  
^H -a@QM  
struts.i18n.encoding K $WMrp  
      The encoding to use for localization messages FKPR;H8>  
      国际化信息内码 G)q;)n;*=  
)}P/xY0  
struts.i18n.reload ?E<9H/  
      Whether the localization messages should automatically be reloaded PuhvJHT  
      是否国际化信息自动加载 7X)4ec9H\  
;XQ27,K&  
struts.locale GKKDO+A=!  
      The default locale for the Struts application ~9"c64 q  
      默认的国际化地区信息 =\ k:]  
i5=~tS  
struts.mapper.class _u'y7-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gm%cAme  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nEPTTp+B  
S{3c}>n  
struts.multipart.maxSize 1=,y +Xpw  
      The maximize size of a multipart request (file upload) xI.0m  
      multipart请求信息的最大尺寸(文件上传用) /2 hk9XM  
=ZO lE|4  
struts.multipart.parser xQ2: tY#?  
      The org.apache.struts2.dispatcher.multipart. |fW_9={1kQ  
      MultiPartRequest parser implementation for a multipart request (file upload) oh@Ha?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >t<\zC|~w  
f$tm<:)Y  
y=.bn!u}z  
struts.multipart.saveDir ?20R\ ]U  
      The directory to use for storing uploaded files CUHT5J*sY  
      设置存储上传文件的目录夹 j@w1S[vt  
:5.F  
struts.objectFactory Nu OxEyC  
      The com.opensymphony.xwork2.ObjectFactory implementation class *G7cF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) H cyoNY  
#0hqfs  
struts.objectFactory.spring.autoWire GKjtX?~1  
      Whether Spring should autoWire or not /%s:aO  
      是否自动绑定Spring r/HCWs|  
7(oA(l1V  
struts.objectFactory.spring.useClassCache VX82n,'=t  
      Whether Spring should use its class cache or not TVx `&C+  
      是否spring应该使用自身的cache "wuO[c&%/  
jd,i=P%  
struts.objectTypeDeterminer ~%C F3?e6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [0hahR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Lr 5{c5M  
<,rOsE6  
struts.serve.static.browserCache O`@- b#  
If static content served by the Struts filter should set browser caching header properties or not =<#G~8WYz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U4^c{KWS  
tXH;4K@  
struts.serve.static lixM0  
      Whether the Struts filter should serve static content or not cJv/)hRaz  
      是否struts过滤器应该提供静态内容 {=?(v`88  
*coUHbP9>  
struts.tag.altSyntax AWYlhH4c?t  
      Whether to use the alterative syntax for the tags or not >;' 0ymG.`  
      是否可以用替代的语法替代tags SOOJqC  
{wsJ1 v8!  
struts.ui.templateDir =*jFaj  
      The directory containing UI templates ""XAUxo  
      UI templates的目录夹 *U]&a^N  
xY#J((-iH  
struts.ui.theme (3lA0e`Y  
      The default UI template theme HKJBR)T  
      默认的UI template主题 o5 fV,BJZO  
[U8/nT  
struts.url.http.port -egnMc67  
      The HTTP port used by Struts URLs DyCzRkH  
      设置http端口 e,VF;Br  
,z>-_HOnw  
struts.url.https.port ZQ+DAX*MS  
      The HTTPS port used by Struts URLs :i4(cap&}F  
      设置https端口 k&%i+5X  
IsE3-X|  
struts.url.includeParams kY'Wf`y(  
      The default includeParams method to generate Struts URLs *d;TpwUI  
      在url中产生 默认的includeParams vdAd@Z~\  
Z\EA!Cs3  
8cG`We8l&  
struts.velocity.configfile q(:L8nKT]  
      The Velocity configuration file path \U]K!K=  
      velocity配置文件路径 1(dKb  
aEvbGo  
struts.velocity.contexts )LIn1o_,  
      List of Velocity context names & ]] l0B  
      velocity的context列表 /\# f@Sg  
c6#E gN,X  
2/fol TR7  
struts.velocity.manager.classname =g! Pw]  
      org.apache.struts2.views.velocity.VelocityManager implementation class h=gtuaR4  
      org.apache.struts2.views.velocity.VelocityManager接口名 8K-P]]  
 MiIxj%,(  
struts.velocity.toolboxlocation 2Kz$y JTp  
      The location of the Velocity toolbox !ess.U&m'  
      velocity工具盒的位置 f"P866@oWn  
struts.xslt.nocache #jrlNg4(  
      Whether or not XSLT templates should not be cached (C#0 ML  
      是否XSLT模版应该被缓存 >MN"87U6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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