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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rj qX|  
|;2Y|>=  
struts.action.extension |cpBoU  
      The URL extension to use to determine if the request is meant for a Struts action '< ]:su+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OU;R;=/]  
74YMFI   
struts.configuration =a>a A Z  
      The org.apache.struts2.config.Configuration implementation class QjH;'OVt  
        org.apache.struts2.config.Configuration接口名 ' N$hbl  
o -tc}Aa  
struts.configuration.files ^UP!y!&N  
      A list of configuration files automatically loaded by Struts \\F^uM7,  
      struts自动加载的一个配置文件列表 <. j`n  
OE87&Cl"{t  
struts.configuration.xml.reload '>[l1<d!G  
      Whether to reload the XML configuration or not tydD~a  
      是否加载xml配置(true,false) CZB!vh0  
(9:MIP  
struts.continuations.package ^)ouL25Z*2  
      The package containing actions that use Rife continuations 7Q,9j.  
      含有actions的完整连续的package名称 <V?M~u[7f  
DDkH`R  
struts.custom.i18n.resources VXt8y)?a  
      Location of additional localization properties files to load a1Q|su{H  
      加载附加的国际化属性文件(不包含.properties后缀) m1@ste;$W  
dz fR ^Gv  
struts.custom.properties TWF6YAQ m  
      Location of additional configuration properties files to load RAMkTS  
      加载附加的配置文件的位置 x)eYqH~i  
,KvF:xqA  
Uc,D&Og  
struts.devMode 6^U8Utx  
      Whether Struts is in development mode or not _DPWp,k<~  
      是否为struts开发模式 ylm*a74-X  
i oX [g  
struts.dispatcher.parametersWorkaround n%; wQ^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c$?(zt ;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tins.D  
W- Q:G=S-  
struts.enable.DynamicMethodInvocation  W7I.S5  
      Allows one to disable dynamic method invocation from the URL zfvMH"1  
        允许动态方法调用 R<$_ <z  
uq<kT[  
struts.freemarker.manager.classname v"M5';ZS>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >]N}3J}47g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i0`<`qSQh  
*0>![v  
struts.i18n.encoding ^Rr0)4ns  
      The encoding to use for localization messages Pw`26mB   
      国际化信息内码 O@;;GJ  
=zw=J p  
struts.i18n.reload ~jdvxoX-  
      Whether the localization messages should automatically be reloaded -dXlGOD+C  
      是否国际化信息自动加载 ? b;_T,S[  
(_S`9Z8=  
struts.locale x] [/9e  
      The default locale for the Struts application u6o:~=WwM  
      默认的国际化地区信息 RlH|G  
uC{qaMQ  
struts.mapper.class JCoDe.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VOc_7q_=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C!KxY/*Px  
>B)&mC$$S  
struts.multipart.maxSize oRl~x^[%[-  
      The maximize size of a multipart request (file upload) [JAHPy=+w  
      multipart请求信息的最大尺寸(文件上传用) >TSPEvWc  
eF]`?AeWQ  
struts.multipart.parser P{ YUW~  
      The org.apache.struts2.dispatcher.multipart. Vfkm{*t)  
      MultiPartRequest parser implementation for a multipart request (file upload) hV5Aw;7C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O <;Au|>*  
kTQ.7mo/\'  
USgZ%xk2  
struts.multipart.saveDir ^0A}iJL  
      The directory to use for storing uploaded files zTtn`j$  
      设置存储上传文件的目录夹 p<b//^   
&L3OP@;  
struts.objectFactory BJGL &N  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5,/rh,?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3m RP.<=  
Dep.Qfv{-  
struts.objectFactory.spring.autoWire tHF -OarUO  
      Whether Spring should autoWire or not ~>C@n'\lv  
      是否自动绑定Spring hY$gzls4  
L?~>eT  
struts.objectFactory.spring.useClassCache ;pk4Voo$  
      Whether Spring should use its class cache or not -$W#bqvz^  
      是否spring应该使用自身的cache V_b"^911r  
a=(D`lQ8  
struts.objectTypeDeterminer @qP uYFnw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N?cvQR{r9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q18IqY*Lo  
)xJCH9h  
struts.serve.static.browserCache SU,S1C_q8  
If static content served by the Struts filter should set browser caching header properties or not a] 0B{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +Sz%2 Q  
t8vR9]n  
struts.serve.static L=`QF'Im  
      Whether the Struts filter should serve static content or not *nb `DR  
      是否struts过滤器应该提供静态内容 Ir%L%MuR]  
F@m]Imn5Dx  
struts.tag.altSyntax 7Mx F? I  
      Whether to use the alterative syntax for the tags or not Gn*cphb  
      是否可以用替代的语法替代tags -D=J/5L#5  
GYv D*?uBc  
struts.ui.templateDir %6A."sePO  
      The directory containing UI templates <( "M;C3y  
      UI templates的目录夹 Hzm<KQ g  
?D 8<}~Do  
struts.ui.theme 3y&N}'R(F  
      The default UI template theme M%(B6};J  
      默认的UI template主题 'p%aHK{  
rGa@!^hk  
struts.url.http.port Ck`-<)uN  
      The HTTP port used by Struts URLs Jo%`N#jG   
      设置http端口 g.L~Z1-  
N, `q1B  
struts.url.https.port @zu IR0Gr)  
      The HTTPS port used by Struts URLs 54[#&T$S  
      设置https端口 z1dSZ0NoA  
e}@VR<h  
struts.url.includeParams VU8EjuOetb  
      The default includeParams method to generate Struts URLs #&v86  
      在url中产生 默认的includeParams F4M )x`  
GvAP  
U}#3 LFr.?  
struts.velocity.configfile %"<|u)E  
      The Velocity configuration file path Y.}"<{RQ  
      velocity配置文件路径 /l.:GH36f  
4OX2GH=W  
struts.velocity.contexts hc"l^a!7ic  
      List of Velocity context names AN193o   
      velocity的context列表 kSW=DE|#}  
Lzr&Q(mL  
F~bDA~  
struts.velocity.manager.classname *R'r=C`  
      org.apache.struts2.views.velocity.VelocityManager implementation class DIqM\ ><  
      org.apache.struts2.views.velocity.VelocityManager接口名 |}^me7C,[  
}I}/e v  
struts.velocity.toolboxlocation a$=BX=  
      The location of the Velocity toolbox _#\e5bE=Z  
      velocity工具盒的位置 fyt ODsb>  
struts.xslt.nocache n>t&l8g%g  
      Whether or not XSLT templates should not be cached -FOn%7r#Y  
      是否XSLT模版应该被缓存 RB\ Hl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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