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

getRequestDispatcher()  RSS feed

 
Kesavulu Thalachiri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please any one can explain of my following doubts.Iam new to servlets and jsp.

A)servletContext.getRequestDispatcher();
B)servletRequest.getRequestDispatcher();
C)HttpServletResponse.sendRedirect();
D)<jsp:forward >

Questions:
1) Explain the above functions usage in tech terms.
1) What is the difference between A and B?.
2) What is the difference between D and forward of (A or B)?.
3) What is the difference between C and D?.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a duplicate of a post in the Servlet forum.
Please answer the question in this thread
thanks,
Dave
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!