Hi all, I would like to know whether it is possible to read an xml and xsl file that are within a jar file? If possible, how? thanks, amar.
Joined: Jun 30, 2001
We are talking about java, right? Then the following will help:
[This message has been edited by Vlad Patryshev (edited July 03, 2001).]
Joined: Mar 21, 2001
Hi Vlad, thanks for your reply. I have one more question. If my xml file is in a jar file which itself is in another jar file, how do I access it. For example I have to read an xml file from war file which is in a ear file. Can I convert JarEntry of war file into a JarFile and acess xml file from it? I was looking at API of JarFile, I couldn't see a constructor which takes JarEntry. Is this possible? thanks, amar.