Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSP and the fly likes transfer Bean between JSP and backend Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "transfer Bean between JSP and backend" Watch "transfer Bean between JSP and backend" New topic

transfer Bean between JSP and backend

Justin(lijun) wang

Joined: Apr 19, 2007
Posts: 6
JSP page will get a BeanList from backend and display every bean in the List. this Bean include user name, city,address,phone,email.....
JSP page will display all bean's information in the beanList in one big form (maybe include 20 users information). my question is when user update the information on JSP page, how these information can be send to backend? can I modify the beanList to reflect the changes on the form and send the beanList to backend?

Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2764

Yes you can read the user inputs, populate the bean with the inputs using setter methods and then write them back to the backend/ database.

Hope this helps

|Asking Good Questions|
Have you tried LearnNowOnline?
subject: transfer Bean between JSP and backend