cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo L <tleso...@cc.hut.fi>
Subject RE: getxml in XSP throws NPE if @path is invalid
Date Tue, 14 Oct 2003 09:08:17 GMT
Here's the line of code, that gives the error (No error, if
/authentication/data/bar/ is actually available. The "data" section is
created dynamically for every user, so "bar" is not always there and
error happens)

String foo = <xsp-session-fw:getxml context="authentication"
             path="/authentication/data/bar"/>;

-Tuomo

On Mon, 13 Oct 2003, Antonio Gallardo wrote:

> Tuomo L dijo:
> > Hi,
> >
> > I finally had the chance to try this, but now I get:
> >
> > java.lang.ClassCastException
>
> Can you show the code from where are you calling the tag?
>
> Antonio Gallardo
>
>
>

Mime
View raw message