Hi all,
I am trying to read from a file : filename
Where should i put this file in tomcat 4.0.4 directory structure?
I tried putting the file in directories:
webapps/ROOT, webapps/ROOT/WEB-INF, webapps/ROOT/WEB-INF/classes  in each 
instance i get the error message
"The system cannot find the file specified"

I used following statement in servlet code.
bufferin = new BufferedReader(new InputStreamReader(new 
FileInputStream(fileName)));

Thanks
Khozaima


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

Reply via email to