velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Velocity and wrong file name
Date Tue, 20 Feb 2001 15:12:55 GMT
Hervé Guidetti wrote:
> 
> > Hervé Guidetti wrote:
> > >
> > > Hi,
> > >
> > > I use Velocity  via the TurbineVelocity service.
> > > I call :
> > > handleRequest(context, filename, bytes);
> > >
> > > But if the filename is wrong (the file doesn't exist) the bytes array
> > > (bytes) is empty and no exception is thrown.
> > > Is that normal ?
> > > I'd except an exception ?
> > > It seems logical to get an exception. Isn't it ??
> > > Is that a bug ?
> > >
> > > Thanks.
> > >
> > > Hervé Guidetti
> >
> >
> > For specific Turbine questions, your best bet would be the Turbine
> > lists.  Thanks very much.
> >
> > geir
> >
> 
> I did. But this is not a Turbine problem. Turbine just calls Velocity with
> this code :
> handleRequest(context, filename, bytes);
> But if the filename isn't valid, no exception is thrown.

Ok.  Will take a look.  I didn't remember where we had a call
'handleRequest()' though. 

Sorry about that....

geir


-- 
Geir Magnusson Jr.                               geirm@optonline.com

Developing for the web?  See http://jakarta.apache.org/velocity

Mime
View raw message