|
We've been experiencing some odd behaviour with
ServletContext Attributes (reloading when they shouldn't). In reading the
spec (2.1) I see
"In a server that
supports the concept of multiple hosts (and even virtual hosts), the context
must be at least as unique as the host. "
Does this mean that if I call a servlet at http://www.domain.com/servlet/runMe
that it has a different context than calling it at http://domain.com/servlet/runMe
? If this is true, than the ServletContext attribute (say
"timeFirstHit") would be different for the two urls above since they
are in two different ServletContexts. Right? Or should they have the
same ServletContext and thus the same value?
I appreciate any clarification anyone can add to this
issue.
|
- Re: ServletContext and Domains Lance Lavandowska
- Re: ServletContext and Domains Spike Washburn
- Re: ServletContext and Domains Lance Lavandowska
- Re: ServletContext and Domains Spike Washburn
- Re: ServletContext and Domains Lance Lavandowska
- Re: ServletContext and Domains Spike Washburn
