just with FileInputStream...
Randy Layman wrote:
> How do you read the file? As mentioned in several posts before, the
> generally accepted way of doing this is to use the Classloader
> getResourceAsStream, in which case the file needs to be in the class
> loader's classpath (web-inf/classes or in a jar file in web-inf/lib).
>
> Randy
>
> -----Original Message-----
> From: Jim George [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 1:24 PM
> To: Tomcat List
> Subject: Jsp app file location?
>
> If I have a jsp which reads a file "data.txt", where in the Tomcat
> directory do I put it?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]