This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes how show values in jsp from getting database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "how show values in jsp from getting database" Watch "how show values in jsp from getting database" New topic
Author

how show values in jsp from getting database

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
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

Joined: Sep 29, 2008
Posts: 12617

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).
 
I agree. Here's the link: jrebel
 
subject: how show values in jsp from getting database
 
Similar Threads
How to position fieldset?
how to show user objects in jsp page
request.setAttribute() and request.getAttribute()
Fetching one table cell click and passing it to servlet
Fetching one table cell click and passing it to servlet