What is URL Rewriting ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code to get the server information in servlet.

784


What is the use of httpservletresponsewrapper?

708


What is preinitialization of a servlet?

773


What are the uses of servlet and what is servlet chaining?

791


Define servlet mapping?

902


How can we include static files in the jsp page?

801


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

746


What are the types of protocols supported by httpservlet ?

930


What is difference between server and servlet?

792


Are Servlets Thread Safe? How to achieve thread safety in servlets?

767


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1934


Is it possible to have a constructor inside the servlet?

737


Explain their methods? Tell me their parameter names also have you used threads in servlet?

794


What is a web application and what is it’s directory structure?

811


What is the use of httpservletrequestwrapper?

788