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 |
Can we override destroy method in servlet?
what are the different services provided by the web server?
What are the difference between HttpServlet and GenericServlets?
What is the purpose of inter-servlet communication?
What is the difference between ExecuteUpdate and ExecuteQuery?
In servlets, Why do we need both GET and POST method implementations?
What is the major difference between context parameter and context attribute?
What is difference between cookies and httpsession?
Explain the architechure of a servlet?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
What is servlet looping or chaining?
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?