Thanks Henner:

But what method would you use to get the full array?

Henner Zeller wrote:
> 
> Hi,
> > I am not familiar with the example you mention, but the contents of your
> > attributes is not garbage.
> >
> > The WELCOME_FILES contains a String array.
> > The resources contains a class named
> > org.apache.naming.resource.ProxyDirContext.
> 
> ..and toString() (which is called implicitly if you try to println() an
> arbitrary objet) returns these kind of strings.
> >
> > context.getAttributeNames():
> >   context.getAttribute("org.apache.catalina.WELCOME_FILES"):
> > [Ljava.lang.String;@baa466
> >   context.getAttribute("org.apache.catalina.resources"):
> > org.apache.naming.resources.ProxyDirContext@7f409c
> 
> ciao,
>  -hen
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

-- 
A. Alfred Ayache,              | 20 years' experience
President, The Last Byte, Inc. | Testimonials
Custom software par excellence | Links
http://www.lastbyte-inc.com    | Free Software

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

Reply via email to