adspace


Why are the request.getrequestdispatcher() and context.getrequestdispatcher() used?

Answer Posted / Amit Agnihotri

The `request.getRequestDispatcher()` and `context.getRequestDispatcher()` methods are used in JSP to forward a request, or include another resource (such as another JSP page), from the current one. This allows for easy navigation between pages without recreating the request object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i need the source code for opening a word document in java

2307