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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P BVF'~f@j  
28LBvJVq@  
struts.action.extension fN1b+ d~*6  
      The URL extension to use to determine if the request is meant for a Struts action Vx}e,(i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6HguZ_jC  
soRY M  
struts.configuration n $lVmQ6  
      The org.apache.struts2.config.Configuration implementation class z~-(nyaBS  
        org.apache.struts2.config.Configuration接口名 :GN++\ 1pw  
!}5f{,.RO  
struts.configuration.files v.- r %j{I  
      A list of configuration files automatically loaded by Struts e^<'H  
      struts自动加载的一个配置文件列表 2,Aw 6h;  
U(PW$\l  
struts.configuration.xml.reload oTRid G  
      Whether to reload the XML configuration or not A0>r]<y  
      是否加载xml配置(true,false) i&1rf|  
c1q;  
struts.continuations.package Gshy$'_e  
      The package containing actions that use Rife continuations m68>`  
      含有actions的完整连续的package名称 a/v]E]=qI  
E/hT/BOPK  
struts.custom.i18n.resources QH,Fw$1  
      Location of additional localization properties files to load x=Aq5*A0  
      加载附加的国际化属性文件(不包含.properties后缀) Kx?.g#>U;  
,1g_{dMx  
struts.custom.properties ?@z/#3b  
      Location of additional configuration properties files to load 9Trk&OB  
      加载附加的配置文件的位置 V.9p4k`  
I94-#*~I  
k*u6'IKi.4  
struts.devMode \#PZZH%  
      Whether Struts is in development mode or not .EPv4[2%F8  
      是否为struts开发模式 Qqi?DW1)-  
b9ud8wLE[  
struts.dispatcher.parametersWorkaround Uqz.Q\A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QI'-I\Co  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )@p?4XsT4J  
.R@s6}C`}=  
struts.enable.DynamicMethodInvocation Q_Br{ `c  
      Allows one to disable dynamic method invocation from the URL M KX+'p\w  
        允许动态方法调用 k dWUz(  
<$@I*xk[  
struts.freemarker.manager.classname ,N _/J4Us  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wMw}3qX$j  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U{KnjoS  
o*artMkG  
struts.i18n.encoding v k= |TE  
      The encoding to use for localization messages &qK:LHhj  
      国际化信息内码 : h(Z\D_  
gkX7,J-0  
struts.i18n.reload 0VrsbkS  
      Whether the localization messages should automatically be reloaded {n&n^`Em  
      是否国际化信息自动加载 }a/z.&x]V  
'Hzc"<2Y\  
struts.locale 6uv~.-T<l  
      The default locale for the Struts application z(8G=C  
      默认的国际化地区信息 piH0_7qr  
Q)y5'u qZ  
struts.mapper.class MD*dq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m?; ?I]`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,2 rfN"o  
h1"|$  
struts.multipart.maxSize C=|8C70[%N  
      The maximize size of a multipart request (file upload) {=\Fc`74  
      multipart请求信息的最大尺寸(文件上传用) B;F ~6i  
ahIDKvJ4  
struts.multipart.parser ij|>hQC5i  
      The org.apache.struts2.dispatcher.multipart. [Y$ TVwFwX  
      MultiPartRequest parser implementation for a multipart request (file upload) TqL+^:cq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) NM^uP+uS  
wx[m-\  
gq;>DY]   
struts.multipart.saveDir 2NJ\`1HZ\  
      The directory to use for storing uploaded files NjT*5 .  
      设置存储上传文件的目录夹 )#8g<]q  
P;@j  
struts.objectFactory n1b:Bv4"]#  
      The com.opensymphony.xwork2.ObjectFactory implementation class K9.Gjw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) '.;{"G.@'  
_~MX~M3MB  
struts.objectFactory.spring.autoWire wPm  
      Whether Spring should autoWire or not Cc*R3vHM6  
      是否自动绑定Spring \'<P~I&p  
t$~'$kM)<  
struts.objectFactory.spring.useClassCache /:Gy .  
      Whether Spring should use its class cache or not 'e' p`*  
      是否spring应该使用自身的cache $|@vmv0  
9P ACXW0  
struts.objectTypeDeterminer 2IE\O 8b  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YvcV801Go  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4xq|  
\y:48zd  
struts.serve.static.browserCache "oNl!<ep  
If static content served by the Struts filter should set browser caching header properties or not UKZ )Boo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z6l'v~\  
8PH4v\tJEK  
struts.serve.static mNacLkh[  
      Whether the Struts filter should serve static content or not 0ug&HEl_w  
      是否struts过滤器应该提供静态内容 gpf0 -g-X  
;3wO1'=  
struts.tag.altSyntax H<n"[u^@E  
      Whether to use the alterative syntax for the tags or not -aVC`  
      是否可以用替代的语法替代tags ZZZ9C#hK^9  
7n.Oem  
struts.ui.templateDir  .gmS1ju  
      The directory containing UI templates +0z7}u\x  
      UI templates的目录夹 V" 8 G-dK  
_<{<b  
struts.ui.theme &^DVSVqs^  
      The default UI template theme =EMB~i  
      默认的UI template主题 W+63B8)4  
[:#K_EI5%  
struts.url.http.port knYp"<qj  
      The HTTP port used by Struts URLs }.&;NgZS  
      设置http端口 6 iMJ0  
M-@X&b m,S  
struts.url.https.port N) _24  
      The HTTPS port used by Struts URLs 7L6L{~8 W  
      设置https端口 ] uyp i#[  
(DY[OIHI  
struts.url.includeParams Xpn\TD<_I  
      The default includeParams method to generate Struts URLs ;5.&TQT  
      在url中产生 默认的includeParams xlJWCA*>  
M /v@C*c  
H!Q72tyo  
struts.velocity.configfile d?J&mLQ6  
      The Velocity configuration file path ;>jEeIlT  
      velocity配置文件路径 9$z$yGjl  
Vc;[0iB  
struts.velocity.contexts L;$>SLl,  
      List of Velocity context names ?#xm6oe#aH  
      velocity的context列表 &e:+;7  
^}p##7t [  
T:Nk9t$W7@  
struts.velocity.manager.classname B+U:=591  
      org.apache.struts2.views.velocity.VelocityManager implementation class >@Ht*h{~  
      org.apache.struts2.views.velocity.VelocityManager接口名 qf\W,SM  
?.%dQ0  
struts.velocity.toolboxlocation SU4i'o  
      The location of the Velocity toolbox ]#^v754X^T  
      velocity工具盒的位置 tx>7?e8E  
struts.xslt.nocache E5)0YYjHZ  
      Whether or not XSLT templates should not be cached 9l &q}  
      是否XSLT模版应该被缓存 6V]m0{:E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五