<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <include file="struts-user.xml"/> <include file="struts-order.xml"/> </struts>
經過這種方式,咱們就能夠將Struts 2的Action按模塊添加在多個配置文件中。 apache
(本學習筆記是根據傳智播客的視頻教程整理而來) 學習