Posted On: Feb 22, 2018
Request Dispatcher is used to invoke a specific application. As it is used for a specific application, we can't use this method for every application. In the case of sending a request to the resource in a different application, it is better to use Servlet Response send Redirect () and provides the full URL of another servlet. When it is done, it forwards the clients a response which has a response code to send the invoke to another URL. Cookies are also available to send the data to the different servlet.
Never Miss an Articles from us.
It is designed by the Java software company. It is used to extend the ability of the server...
Web Server is the connection between the HTTP and HTML...
If any HTTP brings the same result every time then it means it is idempotent...