Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » location of a resource file
location of a resource file [message #46468] Mon, 04 April 2005 02:11
Amos is currently offline AmosFriend
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.
Previous Topic:CVS in Eclipse & Password requests
Next Topic:Where are the "Example Plug-ins"
Goto Forum:
  


Current Time: Thu Dec 26 13:05:18 GMT 2024

Powered by FUDForum. Page generated in 0.07569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top