Re: Please help I need to solve this
Andrew Thompson wrote:
...
Fine. But what about the other part of what I asked you?
Sh*t! Sorry, but it was not an actual question,
just a comment at the bottom of my earlier post.
"- It seems odd to me that the Exception mentions the
'classes' directory specifically. Any attempt to gain
resources for a web app. (or app., or applet) should use
Class.getResource("name") or similar to locate the
resource in either the classes directory, *or* as part
of an (.jar) archive in the ..'lib'(?) directory. If this code
used the Class.gR() mehtod to locate the resource,
it should have returned a null URL if the resource
was not located, long before throwing an FNFE.
The Exception instead suggests that some coder
has perhaps *hard* *coded* that filename into the app.
Slap them for me, there's a pet."
I suspect this comment is central to the problem.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200709/1