<jsp:forward page="empl.do?operate=dogetAll"></jsp:forward>
在struts-config.xml 中 <action-mappings>
<action attribute="employeeForm" input="/index.jsp"
name="employeeForm" path="/empl" scope="request"
parameter="operate"
type="xlh.e166.chap7.web.action.EmployeeAction">
<forward name="show" path="/show.jsp" />
<forward name="error" path="/error.jsp" />
</action>
</action-mappings>
然后在Action 中 继承DispatchAction就OK了