I am trying to create 2
jsp pages that use the same form-bean. The second page creates it's own version of the bean and the data from the first page is lost. The following is from the jsp pages and config.xml file. Can anyone show me what I am doing wrong or tell me how to make this work?
Thank you for any suggestions.
Gerald
*****Config.xml ***************
<action path="/Provider"
type="com.ProviderAction"
name="reportSelectionForm"
scope="session"
validate="true"
input="/provider.jsp"
>
<forward name="success" path="/Offices.jsp"/>
</action>
<action path="/Offices"
type="com.OfficesAction"
name="reportSelectionForm"
scope="session"
validate="true"
input="/offices.jsp"
>
<forward name="success" path="/Success.html"/>
</action>
**************************************
*** first jsp *******************
<html:form action="Provider.do"
name="reportSelectionForm"
type="com.ReportSelectionForm"
scope="session"
>
*** second jsp ********************
<html:form action="Offices.do"
name="reportSelectionForm"
type="com.ReportSelectionForm"
scope="session">