Answer Posted / pramod p deore
URL Rewriting is used foe session management. If We use
cookies for session managemnt but it is possible that some
time user may block the cookies and because if this server
can not maintain the session therefore we use URL Rewriting
as a back up for the session management.
Using URL Rewriting we add extra session information at the
end of URL.
If we use both cookies and URL Rewriting then URL Rewriting
is used only if cookies are disabled.
syntax: response.encodeURL(String url)
Is This Answer Correct ? | 28 Yes | 4 No |
Post New Answer View All Answers
What is Request Dispatcher?
What is the difference between the http servlet and generic servlet?
How to read request headers from servlets?
How to get the actual path of servlet in server?
Explain get and post.
Can you create a deadlock condition on a servlet?
Explain the jar and war files in servlet?
Difference between GET and POST?
What is the inter-servlet communication?
What are the different types of servlets?
Why do we have servlet filters?
What is servletconfig?
Define the life cycle of a servlets.
What is the use of welcome-file-list?
What are the phases of a servlet life cycle?