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 servlets can be automatically reloaded?
explain filters in java?
Is it good idea to create servlet constructor?
What is httpservlet and how it is different from genericservlet?
What is difference between Forward() and sendRedirect() methode?
Explain the architechure of a servlet?
Explain url encoding?
how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..
How printwriter is different from servletoutputstream?
What are the differences between forward() method and sendredirect() methods?
can u give some realtime example in ploymorphism? and inheritance?
What is getservletcontext?