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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 dEDhdF#f  
/(~ HHNnh  
struts.action.extension |B (,53  
      The URL extension to use to determine if the request is meant for a Struts action aG7Lm2{c"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OAkqPG&w  
@wXYza0|d  
struts.configuration ":eyf 3M  
      The org.apache.struts2.config.Configuration implementation class I;XM4a  
        org.apache.struts2.config.Configuration接口名 - k0a((?  
D\G 8p;  
struts.configuration.files =_OJ 7K'  
      A list of configuration files automatically loaded by Struts z"< S$sDh  
      struts自动加载的一个配置文件列表 ;rf{T[i  
f4S}Nga(  
struts.configuration.xml.reload oT}$N_gFT  
      Whether to reload the XML configuration or not d[h=<?E5  
      是否加载xml配置(true,false) efyEzL  
;ab[YMkH  
struts.continuations.package 5i6Ji(  
      The package containing actions that use Rife continuations j/Kul}Ml\*  
      含有actions的完整连续的package名称 #sU>L=  
w?D=  
struts.custom.i18n.resources 8;qOsV)UDT  
      Location of additional localization properties files to load mg*iW55g  
      加载附加的国际化属性文件(不包含.properties后缀) NkUY_rKPb  
F42^Uoaz  
struts.custom.properties 0Y0z7A:  
      Location of additional configuration properties files to load IYe[IHny1  
      加载附加的配置文件的位置 vm gd  
-n@,r%`UK  
Ne9VRM P  
struts.devMode BHpay  
      Whether Struts is in development mode or not ."Pn[$'.  
      是否为struts开发模式 .P8m%$'N  
;- i)}<  
struts.dispatcher.parametersWorkaround HE*^!2f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &x (D%+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vmxS^_I  
O4nA ?bA  
struts.enable.DynamicMethodInvocation .&u @-Vm  
      Allows one to disable dynamic method invocation from the URL :tENn r.9v  
        允许动态方法调用 Zp/P/97p  
nVpDjUpN  
struts.freemarker.manager.classname * r4FOA%P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z2;~{$&M+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &|IO+'_  
3Q&@l49q  
struts.i18n.encoding 9a:(ab'  
      The encoding to use for localization messages f/ 3'lPK^  
      国际化信息内码 5> 81Vhc,  
;qzn_W  
struts.i18n.reload YxnZ0MY  
      Whether the localization messages should automatically be reloaded DW,Z})9  
      是否国际化信息自动加载 dRs\e(H'  
# - L<  
struts.locale 'QpDx&~QP  
      The default locale for the Struts application 87pu\(,'  
      默认的国际化地区信息 HII@Ed f?  
ga'G)d3oS  
struts.mapper.class {#=o4~u%;H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .Z`xNp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZRGe$HaU  
}L`Z<h*H  
struts.multipart.maxSize &G-dxET]  
      The maximize size of a multipart request (file upload) $;";i:H`  
      multipart请求信息的最大尺寸(文件上传用) O*F= xG  
N+]HJ`K  
struts.multipart.parser 6 {`J I  
      The org.apache.struts2.dispatcher.multipart. [$]-W$j+  
      MultiPartRequest parser implementation for a multipart request (file upload) D7IhNWrgj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XB[EJGaX  
B$q5/L$}  
1n)YCSA  
struts.multipart.saveDir .5~3D97X&  
      The directory to use for storing uploaded files -Zg.o$  
      设置存储上传文件的目录夹 Lm^vS u  
Rto/-I0l  
struts.objectFactory xgsEe3|  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZlMS=<hgFx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6m:$RW  
p`"Ic2xPJ  
struts.objectFactory.spring.autoWire uowdzJ7  
      Whether Spring should autoWire or not l >oJ^J  
      是否自动绑定Spring : t D`e<  
 u7&5t  
struts.objectFactory.spring.useClassCache 7 /" Z/^  
      Whether Spring should use its class cache or not -23sm~`  
      是否spring应该使用自身的cache nWd;XR6|  
z@<jZM  
struts.objectTypeDeterminer {H=<5   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OJFWmZ(X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ND3|wQ`M0  
r.]IGE|  
struts.serve.static.browserCache p CeCR  
If static content served by the Struts filter should set browser caching header properties or not PmE 8O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hBDmC_\~  
!%D;H~mQ  
struts.serve.static $m-@ICG#  
      Whether the Struts filter should serve static content or not gd0a,_`M  
      是否struts过滤器应该提供静态内容 FbCuXS=+`  
02[*b  
struts.tag.altSyntax TD/ 4lL~(x  
      Whether to use the alterative syntax for the tags or not Wq25,M'  
      是否可以用替代的语法替代tags ayg^js2,  
V>4v6)N  
struts.ui.templateDir Vc8w[oS  
      The directory containing UI templates B;<zA' 1  
      UI templates的目录夹 a 4? c~bs  
KO))2GET  
struts.ui.theme e[QEOx/-h2  
      The default UI template theme HSACaTVK  
      默认的UI template主题 /W{^hVkvC  
jU{~3Gn?  
struts.url.http.port 94lz?-j  
      The HTTP port used by Struts URLs R$2\Xl@qQF  
      设置http端口 i66/2BUh.  
SO`b+B  
struts.url.https.port 0.~s>xXp  
      The HTTPS port used by Struts URLs *"V) h I5  
      设置https端口 u&j_;Y!6  
S`h yRw  
struts.url.includeParams #Fh:z4  
      The default includeParams method to generate Struts URLs =s:Z-*vy!  
      在url中产生 默认的includeParams V|2[>\Cv  
-;YhQxxC}L  
h\6 t\_^\  
struts.velocity.configfile 0<Rq  
      The Velocity configuration file path [mo9?  
      velocity配置文件路径 #,SPV&  
Jn\>S z(96  
struts.velocity.contexts ka$la;e3  
      List of Velocity context names 1/=6s5vS}  
      velocity的context列表 e=ry_@7  
g]?QV2bX6  
Ki[&DvW:  
struts.velocity.manager.classname X|Nb8 1M  
      org.apache.struts2.views.velocity.VelocityManager implementation class @ n$/2y_.  
      org.apache.struts2.views.velocity.VelocityManager接口名 2t3)$\ylQp  
AD7&-=p&w  
struts.velocity.toolboxlocation }(#;{_  
      The location of the Velocity toolbox /9ZU_y4&3f  
      velocity工具盒的位置 ,/eAns`ZU  
struts.xslt.nocache s[t?At->  
      Whether or not XSLT templates should not be cached rL/H{.@$`  
      是否XSLT模版应该被缓存 Dd:48sN:Jq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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