I didn't see any responses to this, so let me try one more time.  Anyone?
Please?

>  -----Original Message-----
> From:         Agrawal, Anuj (Anuj)** CTR **  
> Sent: Friday, March 08, 2002 11:33 PM
> To:   'Jakarta Tag Libraries Users List'
> Subject:      checking for files
> 
> I'd like to to be able to test if a file (in the particular web context)
> exists.
> 
> e.g. in my webapp, i have an images directory which contains a bunch of
> jpegs (1.jpg, 2.jpg, etc).  I'd like to programmatically test (using JSTL
> tags or any other taglib) if a particular file (e.g. 3.jpg) exists.
> 
> Is this even possible?
> Thanks.
> Anuj.
> 
> PS: i know i can do it using scriptlets and File object, but the "problem"
> is that my values are coming from a database query using JSTL sql actions,
> and i'm not sure how to get the $row.get('havePic') value into a
> scriptlet.

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

Reply via email to