Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call a jsp page from a servlet and viceversa

 
Sonal Sharma
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,
Do reply its urgent.The JSPs and Servlets are calling within a single application.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can call JSPs from Servlets using a RequestDispatcher to forward the request (same request) to a JSP. Or you can redirect the request (new request) using sendRedirect.

Please read this first
http://faq.javaranch.com/view?EaseUp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic