🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19733

Loading HTML from a JAR file

#19733
From: Scott Lavender
Date: Mon, 22 Dec 1997 00:00
17 lines
1386 bytes
Does anyone know how to access HTML files that are located in a JAR
file?

I have an application that is distributed as a JAR file. The
applications' help files (HTML) are loacted within the JAR file in a
"help/" subdirectory. When the user is running the application, the
application provides code to view the help files. This works fine.

I would like for the user to be able to access the help files off-line,
application not running, with out extracting them from the JAR. Is there
a way to use a standard browser to view these HTML documents from inside
the JAR?

Any help would be appreciated.

Thanks.....
Technical Details
Message-ID: <349ED181.20CDCC69@s2systems.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,f0172b5e4d7dead7,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: 113ae9,f0172b5e4d7dead7,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: f74b3,f0172b5e4d7dead7,start
X-Google-Attributes: gidf74b3,public
From: Scott Lavender <Scott_Lavender@s2systems.com>
Subject: Loading HTML from a JAR file
Date: 1997/12/22
Message-ID: <349ED181.20CDCC69@s2systems.com>
X-Deja-AN: 309425405
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
To: Scott Lavender <scott_lavender@s2systems.com>
Content-Type: text/plain; charset=us-ascii
Organization: S2 Systems, Inc
Newsgroups: borland.public.jbuilder.java.language,comp.lang.java.help,comp.lang.java.programmer