This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition