Waht is Request Dispatcher?explaim with application?

Questions by eldhose222

Showing Answers 1 - 1 of 1 Answers

mudiappan.a

  • Nov 4th, 2006
 

rRequest dispatcher whis communciate dirctecly communicate with data which page destination page .

example:

ServletContext sc=getServletContext();

RequestDipatcher rc =sc.getRequestDispatcher("1.jsp");

rc.forward(req,res);

here u'r

1.jsp is u'r destntion page

one more think i would u that first

senRedirect() this method which time delay control goes to browser and it again go to destination page.that is the difference b/e sendRedirect and Requestdispatcher

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions