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 how show values in jsp from getting database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
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).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how show values in jsp from getting database
 
Similar Threads
Fetching one table cell click and passing it to servlet
How to position fieldset?
request.setAttribute() and request.getAttribute()
how to show user objects in jsp page
Fetching one table cell click and passing it to servlet