Micheal
I was trying to submit all three at one time. But you're that is not an
option. So, I have to do something like this:
first.jsp
<html:form>
<%-- first form stuff -- using formA --%>
<html:form>
<%-- second form stuff -- using formB --%>
</html:form>
<html:form>
<%-- third form stuff -- using formB --%>
</html:form>
</html:form>
<html:submit/>
second.jsp
<html:form>
<%-- first form stuff -- using formA --%>
<html:form>
<%-- second form stuff -- using formB --%>
</html:form>
<html:form>
<%-- third form stuff -- using formB --%>
</html:form>
</html:form>
<html:submit/>
<action attribute="formA" input="/first.jsp" >
<forward name="success" path="/second.jsp" />
</action>
<action attribute="formB" input="/second.jsp" >
<forward name="success" path="/done.jsp" />
</action>
thanks,
Shed
-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 9:36 AM
To: Struts Users Mailing List
Subject: Re: Multiple forms in one JSP + one Action
At 05:50 AM 8/12/2004, you wrote:
>I am unable to find a solution or an alternate way of having multiple forms
>in one jsp and upon submit one action handling all forms.The jsp will have
>the forms as follows:
You can have many forms but can submit only one at a time. What are you
trying to do?
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]