Re: NPE in sitemesh

Joe Walnes <[email protected]> Tue, 9 Aug 2005 10:32:18 +0100
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
On 7/19/05, ian pojman <[email protected]> wrote:
> Hi, I'm getting an npe using the applyDecorator tag. it seems like the decorator reference is null in the VelocityDecoratorServlet... the file does exist and is in the decorators 'defaultdir'

> in decorators.xml:    <decorator name="body-content-decorator" page="body-content.vm"/>

Hi Ian

Try specifying a path relative to the root context of the web-app.
e.g. page="/decorators/body-content.vm"

-Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]