> I want to switch from one server to another when user clicks on url
> but i want that session should continue.suppose if he is logged in
> earlier then after migation he must remain loged in.
Are you asking if you can share data from a HttpSession between two different servers?
You could do this two ways that i can think of.
1) Use some clustering software that comes with your server. apache tomcat supports it.
This would only work for one domain though. You would not be able to share session data between different domains i beleive.
2) Store your session data in a database and pass the key to the data to the other server.
You would need to pass it to the other server as a querystring or form parameter though.
The other server would then need access to the database and look up the session data.
=====================================================
THIS IS MY SIGNATURE. There are many like it, but this one is mine.