Forward Request- When we invoke a forward request it is sent to another resource on the server itself, without the client being informed that a different resource is going to process the request.The process occurs completly within the web container.:redirect-use to the purpose of move one to another jsp page:Send Redirect(): When we want that someone else should handle the response of our servlet, then there we should use sendRedirect() method. In send Redirect whenever the client makes any request it goes to the container, there the container decides whether the concerned servlet can handle the request or not. If not then the servlet decides that the request can be handle by other servlet or jsp.
Category:JSP Interview Questions
No comments:
Post a Comment