File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes jar files with htm files in them Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jar files with htm files in them" Watch "jar files with htm files in them" New topic

jar files with htm files in them

A Swenson

Joined: Sep 25, 2002
Posts: 1
I just want to have one file, a jar file and i want to include all my icons and help documentation within this one jar file. I don't have a problem with the icons but i can't figure out how to get IE or netscape to understand the html files while they are in the jar. Basicly the url link looks something like File:/C:/foo.jar!/hello.htm but of course IE and netscape don't understand that. Also when i just open the jar in a zip file if the htm file requires additional htm files to load it again fails to load correctly. So do i have to extract all the htm files in order to load the help? If so is there an easy way to just extract part of a jar file whithin the java code? for instance if i have my code under a there src file and my help documentation under its own help folder can i just extract the help from the jar file since i can't figure out a way to use the help from within the jar file.
I agree. Here's the link:
subject: jar files with htm files in them
It's not a secret anymore!