aspose file tools
The moose likes JSP and the fly likes Regarding getRequestDispatcher() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Regarding 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.
2) What is the difference between A and B?.
3) What is the difference between D and forward of (A or B)?.
4) What is the difference between C and D?.
[ August 19, 2003: Message edited by: Kesavulu Thalachiri ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56157
    
  13

Howdy Kesavulu,
Welcome to the Ranch! Please be advised that it's considered a no-no to post the same question in multiple forums. Please pick the most appropriate forum (or at least take a wild guess at it) and post your question there.
This is probably best answered in the Servlet forum, so I'm going to close this topic.
bear


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Regarding getRequestDispatcher()
 
Similar Threads
java [What are the differences between Java and C++?]
getRequestDispatcher()
string question
Regarding getRequestDispatcher()
validator framework