tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim George <...@lanl.gov>
Subject Re: Jsp app file location?
Date Fri, 26 Jan 2001 18:44:37 GMT
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:jeg@lanl.gov]
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message