Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Promt message after servlet processing  RSS feed

 
abhijeet srivastava
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!

I have a jsp on which I give some inputs. It passes to a servlet on subitting it. In Servlet all input information gets entered in database table. At front end it should prompt a message on same jsp page that data has been entered and if user wants more entry then he should able to enter next record on same jsp page else redirect to different page.

Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bind your message to request scope and use a RequestDispatcher to forward back to the JSP.

This is pretty rudimentary stuff for JSP/Servlet programming and should be covered in just about any tutorial on the web.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!