在struts-config.xml中DispatchAction如何写input?

添加的页面是一个add.jsp,编辑页面是通过一个action然后forward到edit.jsp
add.jsp和edit.jsp页面提交是用的dispatchAction,在struts-config.xml中的input就是有两个页面了