By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,071 Members | 1,244 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,071 IT Pros & Developers. It's quick & easy.

Javabeans - handling multiple forms on a single JSP

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.