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.
Vlad Patryshev
Ranch Hand
Joined: Jun 30, 2001
Posts: 61
posted
0
We are talking about java, right? Then the following will help:
[This message has been edited by Vlad Patryshev (edited July 03, 2001).]
Thanks,<br />Vlad
Amar, Nandigam
Greenhorn
Joined: Mar 21, 2001
Posts: 8
posted
0
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.