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 |
What is cookie? Why is cookie used?
How to find whether a parameter exists in the request object?
how many jsp scripting elements are there and what are those?
What are the drawbacks of cgi?
What are the Internal servlets maintained by the web server?
What are the uses of servlets?
How to pass a requrest object of one servlet as a request object to another servlet?
what is EJB and Java servlet
What is meant by Servlet? What are the parameters of service method?
What are some disadvantages of storing session state in cookies?
What do you mean by default initialization in java servlet?
What are the methods in HttpSession and their use?