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
List out the difference between ServletConfig and ServletContext?
What is the life-cycle of servlets?
Describe in brief RequestDespatcher?
What is Request Dispatcher?
Describe some assignments that are executed by servlet container?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Explain how to improve Servlet Performance?
Difference between GET and POST?
What are different Authentication options available in Servlets.
Which exception is thrown if the servlet is not initialized properly?
Why doesn’t a servlet include main()? How does it work?
What are the different methods involved in the process of session management in servlets?
How to get the IP address of client in servlet?
What are the uses of servlet
What are some disadvantages of storing session state in cookies?