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
Write a hello world program using servlets.
Which httpsession object is used to view and manipulate information about a session?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is servlet mapping?
What are the ways to handle multi-threading in servlets?
What is the servletconfig object?
What are sessions in servlets?
What is the difference between encodeRedirectUrl and encodeURL?
What are the kinds of http requests?
How can a servlet be used to generate plain text instead of html?
Differentiate between the web server and application server?
How can the session in servlet can be destroyed?
How does java thread pool work?
What is cgi and what are its drawbacks?
What is a generic servlet?