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 wrote:
>
> > But there is no such method:
> >
> >
>
context.getContainer().getNote("tomcat.standardManager")
> >
> > in tomcat 3.2.1.
> >
> > getNote() would take an integer argument instead
> of a
> > string. What should be the argument of getNote()
> and
> > what will Container.getNote() return? according
> to
> > the source code. It returns Object type.
>
>
>
>
> > > > > > int manager_note = cm.getNoteId(
> > > > > > ContextManager.CONTAINER_NOTE,
> "tomcat.standardManager" );
> > > > > > _sessionMgr =
>
>
(StandardManager)realRequest.getContext().getContainer().getNote(manager_note);
>
> Costin
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com