Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

transfer Bean between JSP and backend

 
Justin(lijun) wang
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic