difference between sendredirect,forward and url rewritting
Answer Posted / ravikiran.chd
sendRedirect will happen on the client side,forward will
happen on the server side,url rewriting will happen by the
browser to do session tracking when the cookies are disabled
by calling response.encodeURL(/abc) or
reponse.encodeRedirectURL(/abc)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the life cycle methods of a servlet?
What are the drawbacks of cgi?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Which HTTP method is non-idempotent?
Describe in brief RequestDespatcher?
Why is Servlet so popular?
What is servlet container. how it works?
What is preinitialization of a servlet?
Explain the custom jsp tags and the beans.
Is java servlet still used?
How can the session in servlet be destroyed?
What is the inter-servlet communication?
Does servlet have main method?
Define declaration.
How to find whether a parameter exists in the request object?