location of a resource file [message #46468] |
Mon, 04 April 2005 02:11 |
Amos Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Hi there,
I'm trying to parse an xml file, which I would /like/ to place in the =
"resources" subdirectory of my project folder. I've got a little utility=
=
class in my package, and if I use this class directly (e.g. from a test =
=
main method), it finds the file "resources/bla.xml" just fine. However, =
if =
I call a method in this class indirectly from a jsp file, I get a file n=
ot =
found exception which says that it's expecting the file in my eclipse =
directory, i.e. ".../eclipse/resources/bla.xml". Of course I can put the=
=
xml file in /eclipse/resources/, but obviously that can't be the long-te=
rm =
solution...
Anyone know how I can get around this? Is there a setting somewhere that=
=
fixes this?
Cheers,
Amos
-- =
There are 10 kinds of people - those who understand binary, and those wh=
o =
don't.
|
|
|
Powered by
FUDForum. Page generated in 0.07569 seconds