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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T5e^J"   
JC2*$qu J  
struts.action.extension X8R1a?  
      The URL extension to use to determine if the request is meant for a Struts action 1-o V-K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DFy1 bg  
onnugj3  
struts.configuration HeozJ^u\?  
      The org.apache.struts2.config.Configuration implementation class Z@M6!;y#  
        org.apache.struts2.config.Configuration接口名 :1_mfX  
{7X~!e|w  
struts.configuration.files eaAPKx  
      A list of configuration files automatically loaded by Struts h<NRE0-  
      struts自动加载的一个配置文件列表 T*+A.G@L"  
.8H}Lf\  
struts.configuration.xml.reload gtYRV*^q  
      Whether to reload the XML configuration or not Y[G9Vok VX  
      是否加载xml配置(true,false) mH\@QdF  
8x{Hg9  
struts.continuations.package Uw <{i  
      The package containing actions that use Rife continuations c-*2dV[@  
      含有actions的完整连续的package名称 Dbz]{_Y;  
sfI N)jh  
struts.custom.i18n.resources 4f {+pf^R  
      Location of additional localization properties files to load $E.XOpl&I  
      加载附加的国际化属性文件(不包含.properties后缀) % rcFT_  
q-IWRb0j%a  
struts.custom.properties @O/,a7Tt  
      Location of additional configuration properties files to load . #U}q 7X  
      加载附加的配置文件的位置 MZ~.(&  
.'lN4x  
p+<}Y DMb  
struts.devMode a5V=!OoMk  
      Whether Struts is in development mode or not g^j7@dum  
      是否为struts开发模式 784;]wdy\  
UH20n{_:  
struts.dispatcher.parametersWorkaround 5\S&)ZA@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /b{HG7i\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SRf5W'4y  
9p*-?kPb  
struts.enable.DynamicMethodInvocation T2|:nC)@  
      Allows one to disable dynamic method invocation from the URL q"nGy#UWR  
        允许动态方法调用 5;Ia$lm=y  
Z,aGtJ.a'9  
struts.freemarker.manager.classname P(;Mb{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CQ>]jQ,2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 wPH+n-&e  
H,|YLKg-|  
struts.i18n.encoding 3 Gd|YRtk  
      The encoding to use for localization messages =v 0~[ E4  
      国际化信息内码 ^PQM;"  
yjpz_<7a=  
struts.i18n.reload ,8VXA +'_  
      Whether the localization messages should automatically be reloaded %?dE{ir  
      是否国际化信息自动加载 cL7C 2wB`  
P` ]ps?l  
struts.locale ^ItAW$T]F  
      The default locale for the Struts application FmI;lVF0j  
      默认的国际化地区信息 #(dhBEXPW;  
rr )/`Kmv%  
struts.mapper.class wY`#$)O0*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f4 O]`U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VIg\]%qse  
QgZJ`G--  
struts.multipart.maxSize w4A#>;Qu*  
      The maximize size of a multipart request (file upload) {(0Id!  
      multipart请求信息的最大尺寸(文件上传用) m1y `v"  
dEET}s\  
struts.multipart.parser 3?^NN|xg  
      The org.apache.struts2.dispatcher.multipart. ^U{P3 %uZ  
      MultiPartRequest parser implementation for a multipart request (file upload) +7Rt{C,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5M.Red.L  
ArX]L$ D  
Ql8^]gbp+  
struts.multipart.saveDir W0?JVtq0Z  
      The directory to use for storing uploaded files |0]YA  
      设置存储上传文件的目录夹 +C5#$5];  
|Eu*P  
struts.objectFactory 8})|^%@n  
      The com.opensymphony.xwork2.ObjectFactory implementation class vX 1W@s  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6VFirLd  
C[0MA ,^  
struts.objectFactory.spring.autoWire oN ;-M-(  
      Whether Spring should autoWire or not Rdj8 *f  
      是否自动绑定Spring Iht'e8)gq  
4v>o%  
struts.objectFactory.spring.useClassCache xy vND  
      Whether Spring should use its class cache or not +K&?)?/=  
      是否spring应该使用自身的cache lJlhl7  
0}D-KvjyP  
struts.objectTypeDeterminer ZIe+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WV@X@]U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LS{bg.e  
zF?31\GOX  
struts.serve.static.browserCache |zh +  
If static content served by the Struts filter should set browser caching header properties or not ETxp# PZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @wMQC\Z  
X0!Bs-WFp  
struts.serve.static hAlPl<BO#V  
      Whether the Struts filter should serve static content or not %6N)G!P  
      是否struts过滤器应该提供静态内容 C_-%*]*,j  
{N "*olx  
struts.tag.altSyntax rykj2/O  
      Whether to use the alterative syntax for the tags or not 'V1!&Q6  
      是否可以用替代的语法替代tags &jt02+Hj'  
27Cz1[oX  
struts.ui.templateDir */4tJ G1U  
      The directory containing UI templates eVrnVPkM  
      UI templates的目录夹 p%tE v  
,}u,)7  
struts.ui.theme @`5QG2  
      The default UI template theme gji*Wq  
      默认的UI template主题 7:z>+AM[r  
1E8$% 6VV  
struts.url.http.port k]t,q$Vd  
      The HTTP port used by Struts URLs j{)fC]8H  
      设置http端口 v: giZxR  
z/)$D  
struts.url.https.port =Y/}b\9`T  
      The HTTPS port used by Struts URLs mZ]P[lQ'5  
      设置https端口 j,\tejl1  
XMomFW_@  
struts.url.includeParams E2h(w_l  
      The default includeParams method to generate Struts URLs $|rCrak;  
      在url中产生 默认的includeParams GahaZ F  
I; ^xAd3G  
P a3{Ds  
struts.velocity.configfile 3(MoXA*  
      The Velocity configuration file path "&@gX_%  
      velocity配置文件路径 +d.u##$  
jMTRcj];(  
struts.velocity.contexts +8]W\<Kp  
      List of Velocity context names 3gC\{y!8  
      velocity的context列表 ~u};XhZ  
7F,07\c  
Tw2Xe S  
struts.velocity.manager.classname u9esdOv  
      org.apache.struts2.views.velocity.VelocityManager implementation class S4;wa6  
      org.apache.struts2.views.velocity.VelocityManager接口名 eVJ= .?r  
Cw6>^  
struts.velocity.toolboxlocation _TtX`b_Z  
      The location of the Velocity toolbox 976E3u"Vt  
      velocity工具盒的位置 =n> iQS  
struts.xslt.nocache sGXp}{E9  
      Whether or not XSLT templates should not be cached ]\[m=0K  
      是否XSLT模版应该被缓存 PthId aN@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八