What is URL Rewriting ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rambabu gonela
all URLs on webpage is explicitly written with
reponse.encodeURL(String url) method, URL rewriting will
happen automatically if cookies don?t work with the client
| Is This Answer Correct ? | 33 Yes | 10 No |
How we can check in particular page the session will be alive or not
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Tell us something about servletconfig interface.
What are the key methods that are involved in processing of http servlets?
What do you mean by mime type?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the difference in between the httpservlet and generic servlet?
Why should we go for interservlet communication?
can i call init() method in destroy() method of servlset. ?
How do you invoke a servelt?
What are the functions of the servlet container?
In jsp custom tags from child tags to how many levels of parent tags you can acess