wood burning stoves*
The moose likes Servlets and the fly likes from form to servlet to jsp 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 » Servlets
Bookmark "from form to servlet to jsp" Watch "from form to servlet to jsp" New topic

from form to servlet to jsp

R Kiran

Joined: Jan 25, 2007
Posts: 8
This is Kiran,
How to display search results from a database, in a jsp,when a submit a form.
And my form action is some servlet
Pablo M�ller
Ranch Hand

Joined: Dec 12, 2006
Posts: 63
You could save the result of the query in a Collection and add it as an attribute to the request, and then forward to your jsp. There you get the collection from the request and render it as you want.
This is in most servlet/jsp tutorials.
Good Luck!!

2B || !2B
I agree. Here's the link: http://aspose.com/file-tools
subject: from form to servlet to jsp
Similar Threads
which jar files are required for servlets and JSP
Instaniating a Servlet
Servlet to Jsp parameter calling
static and dynamic portion
Submit the form