Forward
- Forwards a request from a Servlet to another resource (Servlet, JSP file, or HTML file) on the server.
- forward should be called before the response has been committed to the client (before response body output has been flushed)
Include
- Includes the content of a resource (servlet, JSP page, HTML file) in the response.
- The included servlet cannot change the response status code or set headers.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.