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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +aj^Cs1$  
St2Q7K5s{  
struts.action.extension  $WR?  
      The URL extension to use to determine if the request is meant for a Struts action Wy.";/C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Je@kiE  
kN.B/itvA  
struts.configuration ^SAq^3^P!  
      The org.apache.struts2.config.Configuration implementation class @/ k x er  
        org.apache.struts2.config.Configuration接口名 ULIFSd Y  
gB >pd?d  
struts.configuration.files H]]c9`ayt  
      A list of configuration files automatically loaded by Struts ~z`/9 ;  
      struts自动加载的一个配置文件列表 eC;!YG Z  
*i@T!O(1)M  
struts.configuration.xml.reload ED/FlL{  
      Whether to reload the XML configuration or not y1#O%=g  
      是否加载xml配置(true,false) \lW_f{X)  
7`dY1.rq  
struts.continuations.package _ eiF@G  
      The package containing actions that use Rife continuations x9~[HuJ  
      含有actions的完整连续的package名称 4w;~4#ZPp  
lLMPw}r<  
struts.custom.i18n.resources lJ&y&N<O  
      Location of additional localization properties files to load O|7yP30?M  
      加载附加的国际化属性文件(不包含.properties后缀) R6<4"?*r  
Cg3ODfe  
struts.custom.properties H-2_j  
      Location of additional configuration properties files to load 9n 6fXOC  
      加载附加的配置文件的位置 3q?5OL^$  
)88nMH-  
wVE:X3Ei  
struts.devMode -dG,*0 >  
      Whether Struts is in development mode or not $rB6<  
      是否为struts开发模式 Y"*:&E2)r  
puF%=i  
struts.dispatcher.parametersWorkaround "H?QqrKx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +Vy_9I(4Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0;<OYbm3<  
cgN>3cE  
struts.enable.DynamicMethodInvocation auL^%M|$R  
      Allows one to disable dynamic method invocation from the URL |Euus5[  
        允许动态方法调用 Pr/]0<s  
'evv,Q{87  
struts.freemarker.manager.classname ]"h=Qc  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )x[HuIRaa  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -TS? fne)  
nvH|Ngg Q  
struts.i18n.encoding ) Fx ?%  
      The encoding to use for localization messages 0D~=SekQ 9  
      国际化信息内码 ZF'HM@cfo  
3Oiy)f@{TF  
struts.i18n.reload 11{y}J  
      Whether the localization messages should automatically be reloaded !^L-T?y.2  
      是否国际化信息自动加载 8&."uEOOU  
Dft%ip2  
struts.locale u w"*zBxl  
      The default locale for the Struts application k!owl+a   
      默认的国际化地区信息 ;{Jb6'K1h  
^mfjn-=3  
struts.mapper.class <[<247%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y 1nU{Sc@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }dKLMNqPA  
@ae>b  
struts.multipart.maxSize >{t+4p4k.  
      The maximize size of a multipart request (file upload) qd8pF!u|#  
      multipart请求信息的最大尺寸(文件上传用) )5GQJiY  
1.0J2nZpt  
struts.multipart.parser { i;6vRr  
      The org.apache.struts2.dispatcher.multipart. 7"K^H]6u30  
      MultiPartRequest parser implementation for a multipart request (file upload) ,C:o`fQ\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $3#%aA!(#  
FUqt)YHi  
^Plc}W7h  
struts.multipart.saveDir m[rL\](-  
      The directory to use for storing uploaded files eEP( ).  
      设置存储上传文件的目录夹 SH=:p^J  
=~J fVozU  
struts.objectFactory ET+'Pj3  
      The com.opensymphony.xwork2.ObjectFactory implementation class iaRR5D-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %w:'!X><  
@n@g)`  
struts.objectFactory.spring.autoWire VYigxhP7  
      Whether Spring should autoWire or not _l T0H u  
      是否自动绑定Spring 7P*Z0%Q  
mPG7Zy$z  
struts.objectFactory.spring.useClassCache /buWAX 1  
      Whether Spring should use its class cache or not 7Ud'd<  
      是否spring应该使用自身的cache xiCN qk3  
QptOQ3!  
struts.objectTypeDeterminer e1uMR-Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sOQcx\dK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M=[th  
QiU_hz6?v  
struts.serve.static.browserCache r0Z+ RB^I  
If static content served by the Struts filter should set browser caching header properties or not =YHt9fb$c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j ug'g  
j+Zt.KXjT  
struts.serve.static %)JRbX<c  
      Whether the Struts filter should serve static content or not Nf5WQTa4  
      是否struts过滤器应该提供静态内容 GoD ?KC  
^@"c`  
struts.tag.altSyntax k>>`fE\K  
      Whether to use the alterative syntax for the tags or not 5~U:@Tp  
      是否可以用替代的语法替代tags ~p.%.b;~t  
p8>R#9  
struts.ui.templateDir (: OHyeNt  
      The directory containing UI templates N&x:K+Zm .  
      UI templates的目录夹 v.b5iv5  
0!_*S )  
struts.ui.theme k* Pz&8|  
      The default UI template theme _+n;A46  
      默认的UI template主题 w[sR7T9*  
kwF]TO S  
struts.url.http.port [>p6   
      The HTTP port used by Struts URLs b0YNac.l  
      设置http端口 \u8,!) 4i  
[-58Ezyr  
struts.url.https.port $?$9y ^\  
      The HTTPS port used by Struts URLs pL)xqKj  
      设置https端口 @H+~2;B,  
9[sG1eP!  
struts.url.includeParams 5p )IV>G  
      The default includeParams method to generate Struts URLs +V1}@6k :  
      在url中产生 默认的includeParams MWhwMj!:m  
1|/'"9v  
"Z~`e]>  
struts.velocity.configfile J#(,0h  
      The Velocity configuration file path _.=`>%,  
      velocity配置文件路径 [TEcg^  
^6qjSfFW}  
struts.velocity.contexts 0I^Eo|  
      List of Velocity context names cAibB&`~  
      velocity的context列表 ^jOCenE 3  
G4m4k  
&-4 ?!  
struts.velocity.manager.classname ~},~c:fF?  
      org.apache.struts2.views.velocity.VelocityManager implementation class r{Z[xWIX  
      org.apache.struts2.views.velocity.VelocityManager接口名 SB1[jcJ  
]>vf9]  
struts.velocity.toolboxlocation 6ZOAmH fs  
      The location of the Velocity toolbox T<M?PlED  
      velocity工具盒的位置 AsAFUuI  
struts.xslt.nocache !o<ICHHH  
      Whether or not XSLT templates should not be cached u}m.}Mws  
      是否XSLT模版应该被缓存 :MBS>owR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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