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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h3UZ|B0=  
0UM@L }L  
struts.action.extension K^z5x#Yj  
      The URL extension to use to determine if the request is meant for a Struts action @!L@UP0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t7C!}'g&'  
|: 7EJkKZ  
struts.configuration FT*yso:X/  
      The org.apache.struts2.config.Configuration implementation class 6SW|H"!!  
        org.apache.struts2.config.Configuration接口名 ND9 n1WZ&x  
sUyCAKebRr  
struts.configuration.files 2-"Lxe65f  
      A list of configuration files automatically loaded by Struts 3oppV_^JdT  
      struts自动加载的一个配置文件列表 G<">/_jn  
C;58z 5*,  
struts.configuration.xml.reload G:h;C].  
      Whether to reload the XML configuration or not 2g ?Jb5)  
      是否加载xml配置(true,false) =FtM;(\  
 ?;ALF  
struts.continuations.package 7})!>p )  
      The package containing actions that use Rife continuations )9A<fwpN  
      含有actions的完整连续的package名称 V',m $   
^td!g1"<  
struts.custom.i18n.resources jt'Y(u]2  
      Location of additional localization properties files to load /H\^l.|vk  
      加载附加的国际化属性文件(不包含.properties后缀) 4t +/  
323yAF  
struts.custom.properties *'s2 K  
      Location of additional configuration properties files to load GDo)6du  
      加载附加的配置文件的位置 #whO2Mv  
&dZ.+#8r  
V\k5h  
struts.devMode 7)8rc(58  
      Whether Struts is in development mode or not OVQxZ~uQ  
      是否为struts开发模式 {jx#^n&5R  
;H m-,W  
struts.dispatcher.parametersWorkaround 0btmao-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T0*TTB&b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  bbQ 10H  
8M3p\}O  
struts.enable.DynamicMethodInvocation xvdnEaWe$  
      Allows one to disable dynamic method invocation from the URL IxEQh)J X  
        允许动态方法调用 k"DQbUy0L  
$X.'W\o|  
struts.freemarker.manager.classname (zM+7tJH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 43}&w.AS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \0*yxSg,^  
>PTu*6Z  
struts.i18n.encoding /\3XARt  
      The encoding to use for localization messages `F- Dd4B  
      国际化信息内码 \K_!d]I {  
T,xVQ4J?  
struts.i18n.reload Y bn=Gy  
      Whether the localization messages should automatically be reloaded VxPTh\O*[  
      是否国际化信息自动加载 ;8%@Lan  
Ivt)Eg  
struts.locale ?VOs:sln  
      The default locale for the Struts application ?Qo_ KQ%sn  
      默认的国际化地区信息 =An Z>6  
psyH?&T  
struts.mapper.class 0+2Matk>.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O'&X aaZV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fdCxMKlu;  
g`~lIt [=  
struts.multipart.maxSize mISu o  
      The maximize size of a multipart request (file upload) rvoS52XG,  
      multipart请求信息的最大尺寸(文件上传用) yNWbI0a  
W"}*Q -8W  
struts.multipart.parser 6M<mOhp@}n  
      The org.apache.struts2.dispatcher.multipart. N8L)KgM5#7  
      MultiPartRequest parser implementation for a multipart request (file upload) V"2AN3~&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [hv3o0".  
n_xQSVI0F  
#r:Kg&W2FO  
struts.multipart.saveDir :hl}Z n~jt  
      The directory to use for storing uploaded files 9/X v&<Tn  
      设置存储上传文件的目录夹 fbx;-He!  
-fSKJo#}|  
struts.objectFactory i/ O,`2  
      The com.opensymphony.xwork2.ObjectFactory implementation class &' Nk2{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ++p& x{  
j9L+.UVI,  
struts.objectFactory.spring.autoWire v;F+fOo  
      Whether Spring should autoWire or not T h- vG  
      是否自动绑定Spring 9^Vx*KVrU  
d@>k\6%j  
struts.objectFactory.spring.useClassCache a,0o{* (u$  
      Whether Spring should use its class cache or not ?w5nKpG#RI  
      是否spring应该使用自身的cache @R-~zOv  
)H37a  
struts.objectTypeDeterminer nE "b`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .}hZ7>4-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lA^Kh  
Kj<<&_B.H  
struts.serve.static.browserCache n'ca*E(  
If static content served by the Struts filter should set browser caching header properties or not }Bod#|`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $O]E$S${  
We+FP9d%  
struts.serve.static ;u-< {2P  
      Whether the Struts filter should serve static content or not kAQ\t?`x  
      是否struts过滤器应该提供静态内容 &_%+r5  
W%jX-  
struts.tag.altSyntax - 5-SlQu  
      Whether to use the alterative syntax for the tags or not _6ax{:/Q  
      是否可以用替代的语法替代tags C5lD Hw[CX  
'`goy%Wd  
struts.ui.templateDir CK`3   
      The directory containing UI templates }yC,uEV  
      UI templates的目录夹 ofrlTw&o  
%},S#5L3  
struts.ui.theme zH\;pmWiN9  
      The default UI template theme j n&9<"W  
      默认的UI template主题 A@Yi{&D_Q]  
pvwnza1  
struts.url.http.port @okm@6J*X  
      The HTTP port used by Struts URLs iN9!?Ov_  
      设置http端口 _~#C $-T  
X9`C2fyVd  
struts.url.https.port :;#}9g9  
      The HTTPS port used by Struts URLs w-Q 6 -  
      设置https端口 FLnAN;  
WO*WAP)n  
struts.url.includeParams -{amzyvLE  
      The default includeParams method to generate Struts URLs me`$5Z`  
      在url中产生 默认的includeParams ?28GQyk4  
>dC(~j{  
A[,"jh  
struts.velocity.configfile ZT-45_  
      The Velocity configuration file path VflPNzixb!  
      velocity配置文件路径 b+j_EA_b  
i$ZpoM  
struts.velocity.contexts 7;s0m0<%~  
      List of Velocity context names :)V0zHo&(  
      velocity的context列表 hG3$ ]i9  
~i&< !O&  
ToXFMkwY  
struts.velocity.manager.classname {8p?we3l1  
      org.apache.struts2.views.velocity.VelocityManager implementation class gl\{QcI8<  
      org.apache.struts2.views.velocity.VelocityManager接口名 d=OO(sf  
I EsD=  
struts.velocity.toolboxlocation N*oJ$:#  
      The location of the Velocity toolbox p YvF}8  
      velocity工具盒的位置 waq_d.  
struts.xslt.nocache iU+,Jeu  
      Whether or not XSLT templates should not be cached -Aym+N9  
      是否XSLT模版应该被缓存 8JO\%DFJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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