标签:
<include>:当项目很大时,就需要把配置文件按方向分别放入不同的.xml文件中
xs.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
...>
<struts>
<package>
...
</package>
</struts>
struts.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
...>
<struts>
<include file="xs.xml></include>
<package>
...
</package>
</struts>