This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes getRequestDispatcher() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "getRequestDispatcher()" Watch "getRequestDispatcher()" New topic
Author

getRequestDispatcher()

Kesavulu Thalachiri
Greenhorn

Joined: Aug 19, 2003
Posts: 3
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

Joined: Mar 06, 2001
Posts: 13459

This is a duplicate of a post in the Servlet forum.
Please answer the question in this thread
thanks,
Dave
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: getRequestDispatcher()
 
Similar Threads
Regarding getRequestDispatcher()
validator framework
Regarding getRequestDispatcher()
java doubts
string question