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 |
when you comppile the servlet is it neccesary to restaet the tomcat server?
How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?
How servlets can be automatically reloaded?
Write a servlet to upload file on server.
What are the type of protocols used in httpservlet?
can i override service method
Why the container loads server at the application startup and how?
Explain the steps involved in placing a servlet within a package?
How can an existing session be invalidated?
Hi guys.. Well can u tell me that why there is need of "init()" , i mean why can not we initialize the servlet object with the help of constructors? Thank you.
How two servlets communicate with each other?
Which protocol will be used by browser and servlet to communicate