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 session tracking and its importance?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is servlet used for?
What is a generic servlet?
How can we refresh automatically when new data has entered the database?
How native code can be used in a servlet?
Can we fetch the attributes related to a servlet on a different servlet?
How do servlets work?
What is servlet api used for conneting database?
What's the architecture of a servlet package?
What are the functions of the servlet container?
How do you deal property files in servlet?
What is generic servlet class?
How to upload a file to the server using servlet?
Define declaration.