Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How can we invoke another servlet in a different application?

1220


What is the difference between sendredirect() and forward() in a servlet?

1019


What is the process to implement doget and dopost methods?

992


Why do you use session tracking in httpservlet?

1141


How to create war file?

1175


List out difference between a JavaBean from a Servlet?

1037


Why the concept of single thread model interface is used?

1000


What are advantages of servlets over cgi?

1116


What is war file?

1103


What do you understand by mime type?

996


Define the lifecycle for executing a jsp page.

1089


Can we use threads in Servlets?

1147


What is string tokenizer?

1088


What are some advantages of storing session state in cookies?

1020


How can you use a servlet to generate a plain text instead of html?

1135