Why does the serlvet context appear to change when I access the same server with a different URL? If I refer to a server like http://127.0.0.1/index.jsp I will have a different servlet context from http://localhost/index.jsp when they are clearly accessing the same machine. Session attributes are different.
Joined: Sep 20, 2001
The same machine can have many application thus many ServletContext. However I think both 127.0.0.1/index and localhost/index should belong the default application. Can you give more details?
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design