velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Guidetti <herve.guide...@idbsoft.ch>
Subject Re: Velocity and wrong file name
Date Tue, 20 Feb 2001 14:14:58 GMT

> 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.

Hervé



Mime
View raw message