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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BD7N i^qI$  
YA5g';$H*  
struts.action.extension ,v}k{( 16{  
      The URL extension to use to determine if the request is meant for a Struts action [1H^3g '  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -|9=P\U8S  
\lNN Msd&  
struts.configuration v(%*b,^  
      The org.apache.struts2.config.Configuration implementation class |e0`nn=  
        org.apache.struts2.config.Configuration接口名 /_ajaz%  
K"@M,8hb  
struts.configuration.files Uoix  
      A list of configuration files automatically loaded by Struts 28u_!f[  
      struts自动加载的一个配置文件列表 j*m%*_kO  
9(<@O%YU  
struts.configuration.xml.reload YZJyk:H\  
      Whether to reload the XML configuration or not r:TH]hs12+  
      是否加载xml配置(true,false) wwcBsJ1{  
^LzF@{ G  
struts.continuations.package _h1mF<\ X^  
      The package containing actions that use Rife continuations S$X Sei_q  
      含有actions的完整连续的package名称 _GPl gp:  
, 9 a  
struts.custom.i18n.resources J9S>yLQK  
      Location of additional localization properties files to load *DhiN  
      加载附加的国际化属性文件(不包含.properties后缀) }W,[/)MO  
MnW+25=N  
struts.custom.properties {BU;$  
      Location of additional configuration properties files to load #A8sLkY  
      加载附加的配置文件的位置 *}W_+qo"  
8*a&Jl  
`~q<N  
struts.devMode "5$B>S(Q  
      Whether Struts is in development mode or not UJ6v(:z <  
      是否为struts开发模式 eb$#A _m  
Eu04e N  
struts.dispatcher.parametersWorkaround seeB S/%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZqO^f*F>h  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 18:%~>.!  
0+b1vhQ  
struts.enable.DynamicMethodInvocation #C@FYO f*  
      Allows one to disable dynamic method invocation from the URL ,5<Cd,`*  
        允许动态方法调用 )@bQu~Y  
3"\lu?-E  
struts.freemarker.manager.classname Pj% |\kbNs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |#N&akC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \Y}8S/]  
mpJ#:}n  
struts.i18n.encoding D^;Uq8NDKq  
      The encoding to use for localization messages `Ryp% Bn  
      国际化信息内码 <1M-Ro?5k  
Aq7osU1B  
struts.i18n.reload U :_^#\p  
      Whether the localization messages should automatically be reloaded \1Em`nvOX  
      是否国际化信息自动加载 r" ,GC]  
sCHJ&>m5-  
struts.locale "C`Ub  
      The default locale for the Struts application ]e@Oiq  
      默认的国际化地区信息 Pk)1WK7E  
QP J4~  
struts.mapper.class \dQNLLg/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S|+o-[e8O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8}| (0mC  
r]36z X v  
struts.multipart.maxSize u,4eCxYE$  
      The maximize size of a multipart request (file upload) hY8reQp1  
      multipart请求信息的最大尺寸(文件上传用) iAU@Yg`pt  
=w0R$&b&  
struts.multipart.parser :*\Pn!r  
      The org.apache.struts2.dispatcher.multipart. bA->{OPkT  
      MultiPartRequest parser implementation for a multipart request (file upload) GR32S=\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Yg1  X  
/&94 eC  
,zY$8y]  
struts.multipart.saveDir 'uEl~> l7  
      The directory to use for storing uploaded files 2jhxQL  
      设置存储上传文件的目录夹 Y:a]00&)#Y  
f& '  
struts.objectFactory ]OzUGXxo~  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]z9=}=If  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HyWCMK6b  
?6Y?a2 |  
struts.objectFactory.spring.autoWire D}/vLw:v  
      Whether Spring should autoWire or not \)|hogI|f  
      是否自动绑定Spring !C: $?oU  
|$b}L7_  
struts.objectFactory.spring.useClassCache +K4}Dmg  
      Whether Spring should use its class cache or not #;nYg?d=  
      是否spring应该使用自身的cache '`KY! ]L  
XpJ7o=?W3  
struts.objectTypeDeterminer V~5jfcd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aw42oLk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4r}8lpF_(  
D,FkB"ZZE  
struts.serve.static.browserCache wAW5 Z0D  
If static content served by the Struts filter should set browser caching header properties or not ?5 7Sk+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d/DB nZN  
o`*,|Nsq  
struts.serve.static D}X\Ca"h  
      Whether the Struts filter should serve static content or not 8-77d^cprR  
      是否struts过滤器应该提供静态内容 'Qe;vZ31K  
 kPLxEwl  
struts.tag.altSyntax W6/yn  
      Whether to use the alterative syntax for the tags or not D >tR-  
      是否可以用替代的语法替代tags ^DwYOo2B  
@I!0-OjL  
struts.ui.templateDir LSr]S79N1  
      The directory containing UI templates ,01"SWE  
      UI templates的目录夹 ?.;c$'  
e**qF=HCw  
struts.ui.theme [HZv8HU|  
      The default UI template theme >\3V a  
      默认的UI template主题 &KRX[2  
Npy :!  
struts.url.http.port ^.NU|NQi'  
      The HTTP port used by Struts URLs @J`"[%U  
      设置http端口 Q$@I"V&G.  
9zy!Fq  
struts.url.https.port  a!AA]  
      The HTTPS port used by Struts URLs SI-Ops~e  
      设置https端口 'SF<_aS(  
^ (zYzd  
struts.url.includeParams W9GVt$T7  
      The default includeParams method to generate Struts URLs !d0kV,F:  
      在url中产生 默认的includeParams 7O-x<P;  
H~1 jY4E  
_"rgET`vW  
struts.velocity.configfile Z>5b;8  
      The Velocity configuration file path E09 :E  
      velocity配置文件路径 iAIuxO  
G*P#]eO  
struts.velocity.contexts ^3L0w}#  
      List of Velocity context names 7E~;xn;  
      velocity的context列表 |_@>*Vmg  
IB] l1<  
j+  0I-p  
struts.velocity.manager.classname VS8Rx.?  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]-/VHh  
      org.apache.struts2.views.velocity.VelocityManager接口名 }?Ai87-{  
-C?ZB}`   
struts.velocity.toolboxlocation L0WN\|D  
      The location of the Velocity toolbox b!5~7Ub.No  
      velocity工具盒的位置 a HR"n|7{  
struts.xslt.nocache y/ ef>ZZ  
      Whether or not XSLT templates should not be cached Gu\q%'I  
      是否XSLT模版应该被缓存 !." D]i;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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