Hi I am using DispatchAction to do similar actions. As per the requirement i have to use two different forms but similar actions. So added individual methods in my action class for each type of form beans. This is my sample config.xml
<form-beans> <form-bean name="SearchForm" type="bean.SearchForm"/> <form-bean name="PEForm" type="bean.PEForm"/> </form-beans> <action-mappings> <action path="/search" type="actions.SearchAction" name="SearchForm" scope="request" parameter="method"> <forward name="searchPage" contextRelative="true" path="/jsp/Search.jsp"/> </action> <action path="/PEReport" type="actions.SearchAction" name="PEForm" scope="request" parameter="method"> <forward name="pExp" contextRelative="true" path="/jsp/PEReport.jsp"/> </action> I am configuring two different form beans for the same action class and forwarding it to two different jsp's. But after processing the second action "/PEReport" it is not able to find the forward "pExp". I have used mapping.FindForwards() to check all the forwards that are configured with SearchAction and it displays just the first forward "searchPage" and not the second forward "pExp". can any one pls advise me where I am wrong ? -- View this message in context: http://www.nabble.com/Issue-with-DispatchAction-when-configuring-with-multiple-Form-beans-tf3441337.html#a9595841 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]