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 servlet in tomcat?
Difference between java beans & servlets?
How to get the server information in a servlet?
What is the need of servlet filters?
Which protocol will be used by browser and servlet to communicate
Can you use javascript in servlets?
What is the use of send redirect () method?
How to make servlet thread safe?
9 Answers Frisco Tech, InfoVista, WipSys Technologies,
What are the features added in Servlet 2.5?
How many servlet objects are created?
Why do we have servlet wrapper classes?
What are the steps that are involved in using the httpservlet class?