difference between sendredirect,forward and url rewritting
Answer Posted / ravikiran
forward is a teqnique used to delegate the response to a new
resource and happens on the server side.And we cann't
forward a response to a resource residing on different machine.
Sendrediredt is the techinque used to delegate the response to
other webapplication,which may reside on different machine
as well.
Url rewriting is a technique used for session tracking when
the cookies are disabled,to transfer the session id back and
forth between the clent and the server
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Explain jsessionid and when is it created?
Why is httpservlet declared abstract?
What is a cookie What is the difference between session and cookie
What is the difference between the include() and forward() methods?
How do you load an image in a Servlet?
What is the functionality of actionservlet and requestprocessor?
How many objects of a servlet is created?
How to get the server information in a servlet?
What is cookie? Why is cookie used?
What is called a session?
Why do we need a constructor in a servlet if we use the init method?
How can you start a jta transaction from a servlet deployed on jboss?
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?
Is servlet a controller?
Which http method is said to be non-idempotent and idempotent?