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
Explain web container.
How will two or three servlets interact or communicate with each other?
When should you prefer to use doget() over dopost()?
How is the get () method different from the post() method?
What is difference between GenericServlet and HttpServlet?
What do you mean by httpservlet?
What is cookie in servlet?
What mechanisms are used by a Servlet Container to maintain session information?
How can we create deadlock situation in servlet?
What are the steps that are required to handle the multi-threading?
What's the architecture of a servlet package?
How to get the server information in a servlet?
What are the different methods involved in generic servlet?
Define servlet mapping?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?