File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "transfer Bean between JSP and backend" Watch "transfer Bean between JSP and backend" New topic
Author

transfer Bean between JSP and backend

Justin(lijun) wang
Greenhorn

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
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

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


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transfer Bean between JSP and backend