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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hCCiD9gz  
I|>^1kr8w  
struts.action.extension {U!8|(  
      The URL extension to use to determine if the request is meant for a Struts action .z 6fv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GqWB{$J;"  
2W/?q!t  
struts.configuration \]=7!RQ\  
      The org.apache.struts2.config.Configuration implementation class kB/D!1 "  
        org.apache.struts2.config.Configuration接口名 CZ(/=3,3n  
& @s!<9$W  
struts.configuration.files KHgBo}6  
      A list of configuration files automatically loaded by Struts @n(Z$)8tR  
      struts自动加载的一个配置文件列表 l7W 6qNB  
Pdt6nzfr  
struts.configuration.xml.reload E0u~i59Z  
      Whether to reload the XML configuration or not D[^m{ 9_  
      是否加载xml配置(true,false) 5!l0zLQP o  
_{r=.W+ w  
struts.continuations.package RT)d]u  
      The package containing actions that use Rife continuations <z]cyXv/  
      含有actions的完整连续的package名称 J13>i7]L%  
aemc2b*  
struts.custom.i18n.resources <4_X P.N  
      Location of additional localization properties files to load 5#> 8MU?&  
      加载附加的国际化属性文件(不包含.properties后缀) LM}Ib.  
`|,`QqDQ  
struts.custom.properties }*lUah,@  
      Location of additional configuration properties files to load aCQ?fq  
      加载附加的配置文件的位置 >Y #t`6,!  
3T"j)R_=l  
> `n,S  
struts.devMode m\$\ 09  
      Whether Struts is in development mode or not &m|wH4\  
      是否为struts开发模式 v1%uxthW  
g{8,Wx,,  
struts.dispatcher.parametersWorkaround 1jN-4&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mMb'@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UG)8D5  
QS{1CC9$  
struts.enable.DynamicMethodInvocation TYJ:!  
      Allows one to disable dynamic method invocation from the URL 3~}uqaGt  
        允许动态方法调用 T{Sb^-H#X  
Z$0 uH*h  
struts.freemarker.manager.classname gA:5M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZHGC6a!a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )=AHf?hn  
o3I Tr';  
struts.i18n.encoding fRtUvC-#H  
      The encoding to use for localization messages O)ME"@r@:  
      国际化信息内码 `t_W2y   
,!dh2xNH^  
struts.i18n.reload j:E<p_T  
      Whether the localization messages should automatically be reloaded KnsT\>[K  
      是否国际化信息自动加载 J(c{y]`J  
YN`H BFH  
struts.locale  A-4h  
      The default locale for the Struts application cfcim.jB  
      默认的国际化地区信息 _Y8hb!#(  
^@qvl%j  
struts.mapper.class Y}uCP1v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JMH8MH*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >TQH|}|6(y  
+m8!U=Zi  
struts.multipart.maxSize {_S}H1,  
      The maximize size of a multipart request (file upload) n@U n  
      multipart请求信息的最大尺寸(文件上传用) f}1&HI8r  
:{IO=^D=$  
struts.multipart.parser l-ct?T_@  
      The org.apache.struts2.dispatcher.multipart. &_"]5/"(  
      MultiPartRequest parser implementation for a multipart request (file upload) ]`&Yqg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B x (uRj  
?Rj~f{%g  
_T2=J+"-Kp  
struts.multipart.saveDir )('%R|$ /  
      The directory to use for storing uploaded files Gm(b/qDDe  
      设置存储上传文件的目录夹 d4nH_?  
L ]w/P|  
struts.objectFactory GDD '[;  
      The com.opensymphony.xwork2.ObjectFactory implementation class );Z1a&K5k  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9A,^c;  
c zm& ~n6$  
struts.objectFactory.spring.autoWire <L`"!~Q  
      Whether Spring should autoWire or not 7.Z@Wr?  
      是否自动绑定Spring B<~ NS)w  
(;q\}u  
struts.objectFactory.spring.useClassCache cG?cUw).E  
      Whether Spring should use its class cache or not n84GZ5O>7  
      是否spring应该使用自身的cache | fSe>uVZ  
nWMmna.5  
struts.objectTypeDeterminer Kt"BE j  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k'#(1(xj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Nkp)Ax&  
6S+U&Ce\  
struts.serve.static.browserCache ]p;FZ4-T  
If static content served by the Struts filter should set browser caching header properties or not LxpuhvIO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7oq[38zB  
'1$!jmY  
struts.serve.static (HSgEs1d  
      Whether the Struts filter should serve static content or not g_G6~-.9I  
      是否struts过滤器应该提供静态内容 e_V O3"  
:PtF+{N>  
struts.tag.altSyntax ppFe-wY  
      Whether to use the alterative syntax for the tags or not  jcI&w#re  
      是否可以用替代的语法替代tags YhY:~  
ds&e|VSH;  
struts.ui.templateDir * 1Od-3  
      The directory containing UI templates uPRQU+  
      UI templates的目录夹 Ay !G1;  
L3n_ 5|  
struts.ui.theme *&d<yJM`b  
      The default UI template theme (ZY@$''  
      默认的UI template主题 V^\8BVw  
j%y$_9a7  
struts.url.http.port 6$ Gep  
      The HTTP port used by Struts URLs 40|,*wi  
      设置http端口 <x&%~6j  
Tp0bS  
struts.url.https.port 5cEcTJL[C  
      The HTTPS port used by Struts URLs VMCLHpSfW  
      设置https端口 ({NAMc*  
k iRa+w:  
struts.url.includeParams CYKr\DA  
      The default includeParams method to generate Struts URLs =IUUeFv +r  
      在url中产生 默认的includeParams _>v<(7  
ND5`Q"k   
c7M%xGrP  
struts.velocity.configfile _z54Ycr4H  
      The Velocity configuration file path C#H:-Q&  
      velocity配置文件路径 i| ZceX/  
mWyqG*-Hb  
struts.velocity.contexts #vzEu )Ul  
      List of Velocity context names !YP@m~  
      velocity的context列表 n_B"- n  
*FmTy|  
8X I?  
struts.velocity.manager.classname IN,(y aC  
      org.apache.struts2.views.velocity.VelocityManager implementation class VwEb7v,^0\  
      org.apache.struts2.views.velocity.VelocityManager接口名 -CRra EXf8  
x ul]m*Z  
struts.velocity.toolboxlocation ixV0|P8,c  
      The location of the Velocity toolbox r YF #^  
      velocity工具盒的位置 i,|0@Vy  
struts.xslt.nocache OQ,NOiNkap  
      Whether or not XSLT templates should not be cached ?_v{| YI=  
      是否XSLT模版应该被缓存 aDehqP6vf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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