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

RequestDispatcher.forward() and PageContext.forward()

 
Devendra Joshi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is ServletContext.gerRequestDispatcher(...).forward(req, res) different from PageContext.forward(url)? (Apart from the parameters)
 
Sandeep Bhandari
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the pageContext forward is similar to that of HttpServletRequest's forward and don't tell me that you don't know what's the difference between HttpServletRequest's forward and ServletContext's forward.

PS Use application instead of ServletContext. When in JSP talk in JSP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic