hi,
any way I can get a servlet context ( web application
)'s name with in a servlet? on Servlet API 2.2 (not
Servlet 2.3)
-OR- there is no way to do that?
P.S. I am using tomcat... may I access internal tomcat
object to achieve that?
thanks
__
But I think this line is what I am using, It only
returns # of sessions for the context which the code
get called.
Any way I can get # of sessions for other context -OR-
for the whole tomcat instance?
thanks again.
--- [EMAIL PROTECTED] wrote:
> On Sun, 9 Sep 2001, chiu ming luk wr
solutions could use a single
> manager for
> the entire tomcat - this would scale much better,
> and would
> probably be easier to control.
>
> Costin
>
>
>
> On Sun, 9 Sep 2001, chiu ming luk wrote:
>
> > Costin,
> > after I get the specific C
Hi,
>
> What you can do is use ContextManager.getContexts(),
> then for each context you can get its
> SessionManager.
>
>
> Costin
>
>
> On Sat, 8 Sep 2001, chiu ming luk wrote:
>
> > Hi,
> > I had asked this question before. But I didn't get
> an
Hi,
I had asked this question before. But I didn't get any
reply. So I post this again in hope someone could
help me getting number of active session currect
Tomcat holds.
The following code will return number of sessions in a
Context(web app)
but not all the sessions in the whole JVM (tomcat
in