• 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
Posts: 65664
129
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.
 
Poop goes in a willow feeder. Wipe with this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!