File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getRequestDispatcher()
 
Similar Threads
Regarding getRequestDispatcher()
string question
validator framework
java doubts
Regarding getRequestDispatcher()