• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jar files with htm files in them

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic