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 context switching?
What is the importance of init() method in Servlet ?
Why do we need a constructor in a servlet if we use the init method?
How do you communicate in between Applets and Servlets?
What is a java servlet?
if u havea .class file ,how can u say whether it is servlet or not ,dont use java decompliler
What is the dispatcher servlet?
Can we use the constructor, instead of init(), to initialize servlet?
What is with the javax.servlet package naming?
What is servlet context ?
How to notify an object in session when session is invalidated or timed-out?
what is a session object?