jar files with htm files in them
posted 14 years ago
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.