View Single Post
  #3 (permalink)  
Old 07-31-2007, 02:03 AM
brianhks brianhks is offline
Senior Member
 
Join Date: Jul 2007
Posts: 134
brianhks will become famous soon enough
Because the file is in your classes folder you can use the ClassLoader to get at it. Try this:
Code:
builder.parse(this.getClass().getClassLoader().getResourceAsStream(xmlFile));
That will get you what you want.
Reply With Quote