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
Explain the jar and war files in servlet?
Can you call a jsp from the servlet?
Describe the phases of servlet lifecycle?
How are filters?
What is the difference between a generic servlet and http servlet?
How do cookies work in servlets?
What is java servlet session?
What is the purpose of dispatcherservlet properties?
Which method of the httpservletrequest object is used?
Explain servlet.
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is servlet container?
What is the directory structure of web application?
What are the phases of a servlet life cycle?
How do you deal property files in servlet?