This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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