Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Javabeans - handling multiple forms on a single JSP

Thread Tools

Javabeans - handling multiple forms on a single JSP

Chris Beach
Posts: n/a

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

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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP newbie - can I use JSP to access exiting java classes withoutre-write to javabeans Java 2 03-17-2008 01:40 AM
Handling multiple forms with single ASP page Ramachandran ASP General 3 08-21-2004 08:25 PM
JSP, JavaBeans and Forms scoping question. Strange behaviour? Matt S. Java 0 05-04-2004 11:58 AM
Javabeans and JSP's matt Java 2 01-24-2004 09:05 PM
Javabeans - handling multiple forms on a single JSP Chris Beach Javascript 1 09-08-2003 10:54 AM