Different forms for the same JSP

Hi ,

i have one page say jsp A (assoc. with form a1)through which request Z is made and on success the request goes to jsp C.

But now i also have another jsp B(assoc with form a2) through which a new request is made and on success the request again goes to jsp C.

Now jsp C was using the form a1 and the new request is assoc with form a2.One option is that i combine both forms as a3. Is there any other method than this?

[446 byte] By [anshumanupadhyay1311a] at [2007-10-3 0:16:52]
# 1
So what you are basically saying is that you have two different forms that you need to process in one jsp?Why do people use the hardest ways to explain a problem :(
gimbal2a at 2007-7-14 17:07:45 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
If I were you I would create one form, which can handle both actions, and include that form in other pages that require its use.
angrycata at 2007-7-14 17:07:45 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...