Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Regarding getRequestDispatcher()  RSS feed

 
Kesavulu Thalachiri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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.
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
Posts: 66143
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!