Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read/load a XML file from a WAR file

 
Abhi Don
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am looking out for the possible options to load an XML file at runtime which resides in a WAR file. Any pointer in this area will be very helpful.

-Abhi
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getResourceAsStream()
 
Abhi Don
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Thanks...

I will try and let you know.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic