469,304 Members | 2,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,304 developers. It's quick & easy.

Javabeans - handling multiple forms on a single JSP

Hi,

I have a JSP page with several forms on it. Some of these forms are
generated dynamically, and each of them submits some information to a
database.

Handling one form is easy, as I can simply make the form post to
itself, and handle the
data using a single bean. Since I have multiple forms, I now have a
problem. Several of the forms on the page handle the same type of data
(same input names), and a 'setproperty *' call for each of the form
beans would change data in several beasn, not just the form/bean that
sent the data.

I am attempting to write a separate JSP with a single bean that
handles a form submission. However, I'm not sure how to make this page
go back to the referring page from which the data was submitted.

Please help!

Chris Beach
Jul 20 '05 #1
1 4762
On 8 Sep 2003 03:49:41 -0700, cb****@lehman.com (Chris Beach) wrote:
I have a JSP page with several forms on it. Some of these forms are
generated dynamically, and each of them submits some information to a
database.


I'm so happy for you, maybe you should read the FAQ before posting,
the comp.lang.java heirachy is over there somewhere.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Patrick Vanhoof | last post: by
12 posts views Thread by scsharma | last post: by
44 posts views Thread by Kulgan | last post: by
9 posts views Thread by Ramon F Herrera | last post: by
9 posts views Thread by Josh | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.