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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UFl*^j_)]  
(>jME  
struts.action.extension 1zM`g_(#  
      The URL extension to use to determine if the request is meant for a Struts action Jk~T.p?tF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m ;KP  
$W2g2[+  
struts.configuration }cP 3i  
      The org.apache.struts2.config.Configuration implementation class OO$<Wgh  
        org.apache.struts2.config.Configuration接口名 Oo0$n]*;W  
eGE,zkj FY  
struts.configuration.files mI.*b(Irp  
      A list of configuration files automatically loaded by Struts CeZ5Ti?F  
      struts自动加载的一个配置文件列表 x88$#N>Q5  
fT@#S}t  
struts.configuration.xml.reload z(m*]kpL"  
      Whether to reload the XML configuration or not s4Wk2*7 Mq  
      是否加载xml配置(true,false) ,Bta)  
PaZFM  
struts.continuations.package |9%>R*  
      The package containing actions that use Rife continuations wF%XM_M  
      含有actions的完整连续的package名称 kgQEg)A]!x  
z!1j8o2  
struts.custom.i18n.resources $v^F>*I1  
      Location of additional localization properties files to load k&**f_b  
      加载附加的国际化属性文件(不包含.properties后缀) [$./'-I]  
a"v D+r7Ol  
struts.custom.properties 2"mO"2d%  
      Location of additional configuration properties files to load I8[G!u71)_  
      加载附加的配置文件的位置 }r i"u;.R  
8Yj(/S3y  
!Khsx  
struts.devMode x=H*"L=  
      Whether Struts is in development mode or not RJWlG'i  
      是否为struts开发模式 ,:#prT[P"  
!qcR5yk`2  
struts.dispatcher.parametersWorkaround GJW1|Fk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u'N'<(\k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nc31X  
bc&:v$EGy  
struts.enable.DynamicMethodInvocation u54+oh|,M  
      Allows one to disable dynamic method invocation from the URL /yI~(8bO  
        允许动态方法调用 K=~h1qV:  
$zdJ\UX  
struts.freemarker.manager.classname Lb];P"2e+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a-YK*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8n'C@#{WV  
6IvLr+I  
struts.i18n.encoding O@ "6)/  
      The encoding to use for localization messages 8en85 pp8P  
      国际化信息内码 Ek 4aC3  
}vm17`Gfy  
struts.i18n.reload p%G\5.GcJL  
      Whether the localization messages should automatically be reloaded <:ZN  
      是否国际化信息自动加载 S</" ^C51J  
31_5k./  
struts.locale oACE:h9U  
      The default locale for the Struts application 3)T5}_  
      默认的国际化地区信息 +ivz  
mG2}JWA  
struts.mapper.class lh5k@\X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G q:7d]c~T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #!5GGe{I  
(C. 1'<]  
struts.multipart.maxSize 0.Iw/e  
      The maximize size of a multipart request (file upload) Mk^o*L{ H  
      multipart请求信息的最大尺寸(文件上传用) @@I2bHy vb  
xXyzzr1[  
struts.multipart.parser ,2]6cP(6qQ  
      The org.apache.struts2.dispatcher.multipart. ?n_Y _)9  
      MultiPartRequest parser implementation for a multipart request (file upload) ?49wq4L;a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) PS6G 7  
TM"i9a? ;  
^beW*O!  
struts.multipart.saveDir *rqih_j0  
      The directory to use for storing uploaded files D9Q%*DLd$_  
      设置存储上传文件的目录夹 ]r#tJ T`M  
{UwJg  
struts.objectFactory Xe*  L^8+  
      The com.opensymphony.xwork2.ObjectFactory implementation class inhb>zB  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b^%4_[uRu  
'QkL%z0  
struts.objectFactory.spring.autoWire "3!4 hiU9  
      Whether Spring should autoWire or not [OM Kk#vW  
      是否自动绑定Spring Ot/Y?=j~  
VNMhtwmK,  
struts.objectFactory.spring.useClassCache TeG'cKz  
      Whether Spring should use its class cache or not dz7*a {  
      是否spring应该使用自身的cache w%L0mH2]ng  
; xs?^N|  
struts.objectTypeDeterminer 9@ ^/ON\O  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class } #$Y^ +UN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kWr*+3Xq  
:yO)g]KF  
struts.serve.static.browserCache *WOA",gZ  
If static content served by the Struts filter should set browser caching header properties or not e+2!)w)[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 AU)Qk$c  
u(d>R5}'  
struts.serve.static ey y&JjVs  
      Whether the Struts filter should serve static content or not 9}5Q5OZ  
      是否struts过滤器应该提供静态内容 @P)GDB7A  
f9#B(4Tgi  
struts.tag.altSyntax ww[STg  
      Whether to use the alterative syntax for the tags or not dmf~w_(7  
      是否可以用替代的语法替代tags D?9 =q  
TCB<fS~U-  
struts.ui.templateDir x!Wl&  
      The directory containing UI templates ydBoZ3}  
      UI templates的目录夹 Z\NC+{7k]  
_{-GR-  
struts.ui.theme o%CBSm]  
      The default UI template theme ~Fisno  
      默认的UI template主题 "bC8/^  
>)!"XFbb  
struts.url.http.port 1{"e'[ L  
      The HTTP port used by Struts URLs CK.Z-_M  
      设置http端口 !a?o9<V  
UD"e:O_  
struts.url.https.port L(}T-.,Slr  
      The HTTPS port used by Struts URLs E7y<iaA{~  
      设置https端口 ~!Onz wmO  
'0w'||#1  
struts.url.includeParams (}bP`[@rX!  
      The default includeParams method to generate Struts URLs <udp:s3#T  
      在url中产生 默认的includeParams nuXaZRH  
00<iv"8  
#&&^5r-b-  
struts.velocity.configfile 1jQz%^~  
      The Velocity configuration file path 5P+3D{  
      velocity配置文件路径 G4ZeO:r  
6`F_js.a  
struts.velocity.contexts O8n\>pkI  
      List of Velocity context names j2tw`*S+  
      velocity的context列表 .wYx_  
5GC{)#4  
4l[f}Z  
struts.velocity.manager.classname -s4qm)\  
      org.apache.struts2.views.velocity.VelocityManager implementation class b Kv9F@  
      org.apache.struts2.views.velocity.VelocityManager接口名 b\H~Ot[i  
|PTL!>ym2  
struts.velocity.toolboxlocation Kkdd}j  
      The location of the Velocity toolbox ~(G]-__B<  
      velocity工具盒的位置 ~M,nCG^4  
struts.xslt.nocache CEZ*a 0}=  
      Whether or not XSLT templates should not be cached P2f~sx9  
      是否XSLT模版应该被缓存 yn4Xi@9Pri  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八