• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how show values in jsp from getting database

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my selection.jsp


when the users loging they automatically redirect to this jsp.
the problem is not that i am statically display the values of each selection.
i need to change it to get values from database and show them.
1)how to do this?
2)other this is i need to update the database for each selection made by the users.
if he select more than one selection it is very diffcult?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Get the values from the database (on the Java side), put them into request scope, use the JSP EL to display them.
2) No, it's not difficult (normally).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic