Hi
I have this trivial problem ... :) beleive it is major for me ... I just want to tell that to myself ....
I have a XML file in my Java project (command line based) . The XML file is in the folder <classes>/resources/db.xml
.
Now I want to read this XML file.
I have tried this.getClass().getResourc
esAsStream
("db.xml")
; /// bombs right on my face with malformed url exception
this.getClass().getResourc
es("db.xml
").getFile
(); /// i feel even worse.
Can any one hash this out for me ...
RK
Start Free Trial