Thanks to all.
I got it working.
-Mike.

-----Original Message-----
From: Michael Skariah [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Handling multiple forms...in a JSP


Hello all,
I am not sure whether if this is a HTML question of a Struts question.
Anyways, I am trying my luck here.

I have a JSP with multiple forms. When the submit of form 1 is clicked, I
would like to read the value from the "source" of form 2 and set it in the
"action" property of form 1.
How can read the value of a different form.

Thanks a lot,
Michael.


-------------------------------
<html:form action="editTaxResult.do" method="post">
<html:hidden property="action" value=""/>
<html:submit property="submit" value="submit"/>
<html:cancel property="cancel" value="cancel"/>
</html:form>

<html:form action="accountTaxResult.do" method="post">
<html:hidden property="source" value="accountTax"/>
<html:submit property="submit" value="submit"/>
<html:cancel property="cancel" value="cancel"/>
</html:form>
-------------------------------


Reply via email to