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
Define the lifecycle for executing a jsp page.
What are the different ways we can maintain state between requests?
What is the difference between using getSession(true) and getSession(false) methods?
What is the importance of init() method in Servlet ?
How to get the actual path of servlet in server?
Write a program to show the functionality of servlets.
What is the difference between Difference between doGet() and doPost()?
Write a simple servlet program to print the contents of html.
What is cookies in servlet with example?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Explain the differences between jsp and servlet.
How do I use cookies to store session state on the client?
Why doesn’t a servlet include main()?
What if we pass negative value in load-on-startup?
What are the steps involved in placing a servlet within a package?