This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

from form to servlet to jsp

 
R Kiran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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
Regards
Kiran
 
Pablo M�ller
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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!!
Pablo
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!