ok this seems like a simple question ,but here goes..
- Posted by: david lightman
- Posted on: February 12 2006 20:02 EST
basicalli I have a session bean that uses a pojo utility class that simply reads in an XML file using document builder like:
Document doc = new docBuilder.parse(new File("C:/myfile.xml"));
and works perfectly.
But I do not want it to be external to the EAR and read from my hard drive, I want to put in inside and built from with the EAR.
how do i go about acheiving this? what dir do i put the xml file so it gets found..