On Sat, 26 Feb 2005 10:34:21 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> On 25 Feb 2005 at 10:33, Nathan Bubna wrote:
> 
> >
> > anyway, the VelocityViewServlet requires a good bit more than just the
> > handleRequest() method to run.  first it will need to be init'ed
> > (going thru init(), initToolbox(), initVelocity() and
> > loadConfiguration()), then it calls createContext() to get the
> > context, sets the content type, gets the Template from handleRequest()
> > and then it finally does the merge.  unless you are making sure it
> > goes through all (or most) of  those steps, i wouldn't expect it to
> > work.
> >
> 
> I've followed your advice and just added servlet.init(this.config); in my
> setupServletAndRun method and voila... Everything is right !

glad to hear it!  yeah, from a first glance at the stack trace you
gave, it looks like velocity was probably not getting init'ed properly
before.

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

Reply via email to