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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !"Q}R p  
e'2Y1h  
struts.action.extension ymWgf 6r<  
      The URL extension to use to determine if the request is meant for a Struts action y,=du  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B@O@1?c[  
at6149B\)  
struts.configuration ]"F5;p; y  
      The org.apache.struts2.config.Configuration implementation class /qU>5;  
        org.apache.struts2.config.Configuration接口名 k%P;w1  
fQ 7vL~E  
struts.configuration.files Q6 ?z_0  
      A list of configuration files automatically loaded by Struts ar.AL'  
      struts自动加载的一个配置文件列表 |>2FRPK  
%+-C3\'  
struts.configuration.xml.reload 5\Fz!  
      Whether to reload the XML configuration or not ZDx@^P y  
      是否加载xml配置(true,false) V-!"%fO.s  
Kmz7c|  
struts.continuations.package 4=Gph  
      The package containing actions that use Rife continuations uS+k^ #  
      含有actions的完整连续的package名称 J:j<"uPm  
F7MzCZvu  
struts.custom.i18n.resources PUdM[-zjh  
      Location of additional localization properties files to load  npp[@*~  
      加载附加的国际化属性文件(不包含.properties后缀) 9bJQT'<R  
(\a6H2z8l  
struts.custom.properties tNIlzR-  
      Location of additional configuration properties files to load % ."@Q$lA  
      加载附加的配置文件的位置 FP^{=0  
R?66b{O  
DJ@|QQ  
struts.devMode wmU0E/{9]  
      Whether Struts is in development mode or not AoaN22  
      是否为struts开发模式 [xb]Wf  
p?X02 >yA  
struts.dispatcher.parametersWorkaround a l&(-#1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  {@Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CHJ> {b`O  
b;GD/UI  
struts.enable.DynamicMethodInvocation xJs;v  
      Allows one to disable dynamic method invocation from the URL bEV<iZDq%  
        允许动态方法调用 Oco YV J  
FG@ -bV  
struts.freemarker.manager.classname !xIm2+:(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;8{cA_&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]i*](UQ  
,`A?!.K$  
struts.i18n.encoding fyWO  
      The encoding to use for localization messages *&Lq!rFS  
      国际化信息内码 Cx_Q: 6T  
!0,Mp@ j/  
struts.i18n.reload o4b~4 h{%  
      Whether the localization messages should automatically be reloaded EGq;7l6u&?  
      是否国际化信息自动加载 nqVZqX@oE  
~z5R{;Nbz|  
struts.locale 8>WVodv  
      The default locale for the Struts application V DS23Bo  
      默认的国际化地区信息 )yK[Zb[  
TXXy\$  
struts.mapper.class 4Kwh?8.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WQNE2Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;Xvp6.:  
_c$9eAe  
struts.multipart.maxSize  '1^B +m  
      The maximize size of a multipart request (file upload) X^9d/}uTa  
      multipart请求信息的最大尺寸(文件上传用) X>YsQrK(ig  
X[gn+6WB%  
struts.multipart.parser L6Wt3U`l  
      The org.apache.struts2.dispatcher.multipart. dsx]/49<  
      MultiPartRequest parser implementation for a multipart request (file upload) BvrB:%_:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fF vF\  
CzCQFqXI  
xVL5'y1g B  
struts.multipart.saveDir )vg5((C  
      The directory to use for storing uploaded files 4_v]O  
      设置存储上传文件的目录夹 YwY74w:  
[+m?G4[  
struts.objectFactory :,b iyJt  
      The com.opensymphony.xwork2.ObjectFactory implementation class {gNV[45  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >gwz,{  
5}$b0<em~  
struts.objectFactory.spring.autoWire ;Vik5)D2D  
      Whether Spring should autoWire or not VQ5nq'{v  
      是否自动绑定Spring D?yG+%&9  
|t iUej  
struts.objectFactory.spring.useClassCache &N~ZI*^  
      Whether Spring should use its class cache or not C;QAT  
      是否spring应该使用自身的cache jn >d*9u  
^.k |SK`U  
struts.objectTypeDeterminer XdLCbY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #GDe0 8rOw  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,#d? _?/:O  
`U#55k9^5  
struts.serve.static.browserCache Z+j\a5d?,  
If static content served by the Struts filter should set browser caching header properties or not r;L>.wl*I  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^EG\iO2X  
2&c9q5.b  
struts.serve.static ZOXIT(mg  
      Whether the Struts filter should serve static content or not /&F,V+x  
      是否struts过滤器应该提供静态内容 'Jf^`ZT}  
!zj0/Q G\  
struts.tag.altSyntax pD]0`L-HJU  
      Whether to use the alterative syntax for the tags or not 0;4t&v7  
      是否可以用替代的语法替代tags @_:]J1jw7  
"8^5>EJWv  
struts.ui.templateDir u]u[(K5F  
      The directory containing UI templates o&AM2U/?  
      UI templates的目录夹 ac kqH+'  
P`s  
struts.ui.theme "s!7dKXI"  
      The default UI template theme kr$ b^"Ku  
      默认的UI template主题 jdE5~a+  
D`J6h,=2l/  
struts.url.http.port J_Ltuso  
      The HTTP port used by Struts URLs ;S0Kh"A  
      设置http端口 LK6; ? m  
}ENR{vz$A  
struts.url.https.port 8Og_W8  
      The HTTPS port used by Struts URLs %AOja+  
      设置https端口 W^3uEm&l!)  
322jR4QGr  
struts.url.includeParams E9?ph D  
      The default includeParams method to generate Struts URLs r]3'74j:  
      在url中产生 默认的includeParams J psPNa  
<E\$3Ym9  
H$G0`LP0/a  
struts.velocity.configfile _k8A$s<d  
      The Velocity configuration file path ebPgYxVZR  
      velocity配置文件路径 iyj+:t/  
?4H i-  
struts.velocity.contexts $zB[B;-!$  
      List of Velocity context names MlLb|!,)T  
      velocity的context列表 |FD}e)  
5_XV%-wM  
A,r*%&4~  
struts.velocity.manager.classname vad12WrG<  
      org.apache.struts2.views.velocity.VelocityManager implementation class x.8TRMk^  
      org.apache.struts2.views.velocity.VelocityManager接口名 CPg+f1K  
btdb%Q*  
struts.velocity.toolboxlocation K\XH4kic  
      The location of the Velocity toolbox *@d&5  
      velocity工具盒的位置 EkGQ(fZ1|  
struts.xslt.nocache F(na{<g};  
      Whether or not XSLT templates should not be cached h?bb/T+'  
      是否XSLT模版应该被缓存 p-1 3H0Kt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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