On Thu, 27 Jun 2002, August Detlefsen wrote:

> Date: Thu, 27 Jun 2002 16:13:11 -0700 (PDT)
> From: August Detlefsen <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: JNDI - What resources are loaded?
>
> Is there a way to list all of the JNDI Resources that are loaded for a
> particular context?
>

You can certainly look at your own context, using the standard JNDI APIs
-- for example, javax.naming.Context.list() or
javax.naming.Context.listBindings().  The JNDI example servlet in the
examples webapp uses this approach.

For security reasons, you won't be able to see anybody else's context, or
modify the one that Tomcat sets up for you.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to