Watch “Servlet Part-11 (Redirection in Servlet)” on YouTube

Servlet Redirection :

  • Local resource like servlet, jsp or html page etc.
  • Resource outside of our domain/application
  • Example of searching Google from out application

Servlet Redirection can be used to transfer/forward control to Local resource like servlet, jsp or html page etc., It can also used to transfer/forward the Resource outside of our domain/application. Here there is an example to transfer request from one servlet to anohter servlet when client request the first servlet. This example also demonstrate how it refers the another html page for redirection. And finally this example also demonstrate a trick to search Google directly from our application.

OS : Windows 10
Jdk : Version 8
IDE : Eclipse Mars
Server : Apache Tomcat 7

follow me @
https://raviroza.wordpress.com/
https://twitter.com/raviozaIT
https://www.facebook.com/ravi.oza.it

Subscribe my channel to get latest video notification https://www.youtube.com/user/ravioza101

Leave a Comment