How to access a file?

Hi,

I want my application to read from a xml-file. My question is, where I have to store it and how I can access it in the java-source.

I tried to store it in the resources folder of my Web Pages folder and access it via: File f = new File("/resources/myfile.xml");

This doesnt work.

So could you please help me.

Thanx

[355 byte] By [Tobsen] at [2007-11-14]
# 1
See my Spring tutorial for one easy way to get XML data into your app: http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=52657
darrinps at 2007-7-6 > top of java,Development Tools,Java Tools...