<action-mappings>
<action path="/test"
type="action.InitAction"
name="file"
parameter="action">
<forward name="init" path="/WEB-INF/init.jsp"></forward>
</action>
</action-mappings>
访问链接为.../test.do?action=init
<action-mappings>
<action path="/test"
type="action.InitAction"
name="file"
parameter="action">
<forward name="init" path="/WEB-INF/init.jsp"></forward>
</action>
</action-mappings>
访问链接为.../test.do?action=init