美文网首页
struts指定多个配置文件

struts指定多个配置文件

作者: 吐痰高手 | 来源:发表于2017-11-08 22:21 被阅读9次

直接上代码

struts.xml:

<struts>
    <include file="helloworld.xml"></include>
    <include file="/a/b/c/helloworld.xml"></include>
</struts>

其中的helloworld.xml/a/b/c/helloworld.xml文件就是正常的struts配置文件,里面也有struts标签等,也要有xml的约束声明

相关文章

网友评论

      本文标题:struts指定多个配置文件

      本文链接:https://www.haomeiwen.com/subject/uydumxtx.html