This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call a jsp page from a servlet and viceversa  RSS feed

 
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
Boost this thread!