A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
cannot find resources
Michel de Lange
Joined: Jun 08, 2006
Sep 29, 2008 04:29:00
I am sorry to trouble you folks with such a seemingly trivial problem, but I cannot work this out.
cannot find any of my resources (files). In my code, I have
fstream = this.getClass().getResourceAsStream(fileName);
in = new
never finds the file. I get:
at java.io.DataInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
My file infotext.html is in WEB-INF/classes/ and for good measure also in
Many thanks for your help,
subject: cannot find resources
JNLP applet to servlet communication problems -Directory Structure
Applet in JSP
My applet is not being seen in its jar anymore. Please help!
problem in rediredtin GUI to IO Streams
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014