difference between sendredirect,forward and url rewritting
Answer Posted / md. abid hossain
Both SendRedirect and forward is used to forward the
request to another resource. In case of forward() container
does not report to the browser,it is happend within the
container..so objects which are stored in request is not
lost..bt in sendredirect coantainer report to browser and a
new url is displayed..so objects which are stored in
request is lost..
URL rewriting is technique of session tracking.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is the directory structure of a war file?
What are session variable in servlets?
What is servlet and list its types?
What's the difference between authentication and authorization?
Why is http protocol called as a stateless protocol?
How many servlet objects are created?
Is that servlet is pure java object or not?
List out difference between a JavaBean from a Servlet?
Explain in brief the directory structure of a web application?
How to get the actual path of servlet in server?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is the use of servlet context?
How native code can be used in a servlet?
What are the different mode that servlets can be used?
What are the steps that are required to handle the multi-threading?