File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 2851

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|
I agree. Here's the link:
subject: transfer Bean between JSP and backend
jQuery in Action, 3rd edition