wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Author

jar files with htm files in them

A Swenson
Greenhorn

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.
Thanks
-A
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar files with htm files in them
 
Similar Threads
BMP, Jboss, and mysql configuring
SQL statements in files in jars - best practice suggestions?
JAR file question
IE and NN Compability
Eclipse + Tomcat + JSP's on the Mac