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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~#I1!y~`  
uFSgjWJ#~  
struts.action.extension Xe=@I*  
      The URL extension to use to determine if the request is meant for a Struts action 7Yk6C5C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UbC)X iO  
X-Xf6&Uz  
struts.configuration Bf1GHn Xv  
      The org.apache.struts2.config.Configuration implementation class &wNN| fH  
        org.apache.struts2.config.Configuration接口名 D: JGd$`  
*X%`MN  
struts.configuration.files BTjF^&`  
      A list of configuration files automatically loaded by Struts x9Gm)~  
      struts自动加载的一个配置文件列表 !\ y_ik  
C1p |.L?m  
struts.configuration.xml.reload v&H&+:<  
      Whether to reload the XML configuration or not fQ#mx.|8y  
      是否加载xml配置(true,false) X%`8h _  
s<:"rw`  
struts.continuations.package SnQ$  
      The package containing actions that use Rife continuations 4I:Jb;k>  
      含有actions的完整连续的package名称 (`3 Bi]7  
@=Ly#HuUM  
struts.custom.i18n.resources y>~=o9J_u  
      Location of additional localization properties files to load SjlkKulMF  
      加载附加的国际化属性文件(不包含.properties后缀) e6s L N  
.a=M@; p  
struts.custom.properties bRNE:))r_  
      Location of additional configuration properties files to load zG [-n.  
      加载附加的配置文件的位置 'G-VhvM v  
.vG6\U7  
oVl:./(IB  
struts.devMode z+wV(i97  
      Whether Struts is in development mode or not 1)u= &t,  
      是否为struts开发模式 gQ?>%t]  
r+m8#uR  
struts.dispatcher.parametersWorkaround WgE~H)_%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic VrF]X#\)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  `Yoafa  
He#+zE ;  
struts.enable.DynamicMethodInvocation _<t3~{qUT  
      Allows one to disable dynamic method invocation from the URL YLPiK  
        允许动态方法调用 $|(roC(  
}{iR+M X  
struts.freemarker.manager.classname 14oD^`-t  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  M?}2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C,tlp  
eWwSD#N#  
struts.i18n.encoding @q^WD_k  
      The encoding to use for localization messages #\`6ZHW  
      国际化信息内码 gkBat(Uc  
zc/S  
struts.i18n.reload i.F[.-.  
      Whether the localization messages should automatically be reloaded <LBMth  
      是否国际化信息自动加载 H7l[5 ib  
Cc!n`%qc  
struts.locale +BzKO >  
      The default locale for the Struts application IH>+P]+3"3  
      默认的国际化地区信息 q".l:T%|C}  
(B$2)yZY  
struts.mapper.class e#_xDR:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bct>EWQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 v`wPdb  
)j6S<mn  
struts.multipart.maxSize 5fVdtJk7  
      The maximize size of a multipart request (file upload) ?:U6MjlQ"{  
      multipart请求信息的最大尺寸(文件上传用) 3c9v~5og4  
&2QN^)q  
struts.multipart.parser m{b(^K9}  
      The org.apache.struts2.dispatcher.multipart. 2a? d:21 B  
      MultiPartRequest parser implementation for a multipart request (file upload) \BJnJk!%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D;Az>]>q  
UKX'A)$  
G4g },p!  
struts.multipart.saveDir ^GRd;v=-@  
      The directory to use for storing uploaded files uX.Aq@j  
      设置存储上传文件的目录夹 "B+M5B0Z  
\9ap$  
struts.objectFactory i g?]kZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class It]CoAo+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1 #EmZ{*  
<Xl G:nmY  
struts.objectFactory.spring.autoWire Y ciZU  
      Whether Spring should autoWire or not )Xg#x:  
      是否自动绑定Spring 60`y=!?f  
W:9L!+m^  
struts.objectFactory.spring.useClassCache v[Ar{t&  
      Whether Spring should use its class cache or not a 2).Az  
      是否spring应该使用自身的cache 2H]&3kM3X  
B623B HwS  
struts.objectTypeDeterminer &<!I]:Y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >TL0hBaaR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `0 .5aa  
[bGdg  
struts.serve.static.browserCache Q^mJ_~  
If static content served by the Struts filter should set browser caching header properties or not Nb B`6@r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Kx<bVK4"  
8(g:i#~  
struts.serve.static hP 9+|am%  
      Whether the Struts filter should serve static content or not N:&^ql4  
      是否struts过滤器应该提供静态内容 *a$z!Ma3h  
V2.MZ9  
struts.tag.altSyntax u_:" u  
      Whether to use the alterative syntax for the tags or not 0Q>Yoa 11  
      是否可以用替代的语法替代tags hV=)T^Q  
/D~z}\k  
struts.ui.templateDir $9hOWti  
      The directory containing UI templates T[<9Ty'^  
      UI templates的目录夹 "G4{;!0C  
C9bf1ddCW&  
struts.ui.theme  Gc SX5c  
      The default UI template theme 4|Z3;;%+  
      默认的UI template主题 I.(/j  
CZbp}:|  
struts.url.http.port ?]sj!7   
      The HTTP port used by Struts URLs e%UFY-2  
      设置http端口 W6wgX0H  
a&y%|Gs^f  
struts.url.https.port Bd\p!f<  
      The HTTPS port used by Struts URLs 2abWIw4  
      设置https端口 $vc:u6I[  
JsiJ=zo<  
struts.url.includeParams l&T;G 9z  
      The default includeParams method to generate Struts URLs #kV= ;(lq  
      在url中产生 默认的includeParams %Xp}d5-  
F!SmCE(0x  
wcV~z:&^5  
struts.velocity.configfile 8[zP2L!-  
      The Velocity configuration file path ]1p&*xX:Bj  
      velocity配置文件路径 A:;KU  
u^:!!Suo  
struts.velocity.contexts $Cf_RFH0  
      List of Velocity context names uWMAXGL  
      velocity的context列表 4'_uN$${$  
gv<9XYByt  
0! !pNK%(  
struts.velocity.manager.classname )8e_<^M  
      org.apache.struts2.views.velocity.VelocityManager implementation class .s, hl(w,  
      org.apache.struts2.views.velocity.VelocityManager接口名 #<!oA1MH4  
ea7v:#O[S  
struts.velocity.toolboxlocation <\yM{ V\  
      The location of the Velocity toolbox bh_i*DJ]  
      velocity工具盒的位置 (^057  
struts.xslt.nocache r$.ek\D5  
      Whether or not XSLT templates should not be cached k*lrE4::a  
      是否XSLT模版应该被缓存 odj|" ZK  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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