I tried the :jar protocol stuff with Kmeleon 0.4 and have gotten that
to work with a full URL (view-source on page below)

http://www.visi.com/~hoju/resources_test.html


I would think something like the following relative path should work,
but I haven't gotten it to:

<img src="jar:resources_test.jar!/images/apache_pb.gif" alt="Image
loaded from jar file" />

the data protocol works in a similar way, although there wouldn't be
any path related to the :data protocol like there would be with the
:jar protocol.  

Anyone else have any insight on this????   This could be very useful,
but it is serverly limiting to have to use a fully qualified URL
rather than a more simple and portable relative path.

Jake

On 31 Aug 2001 07:25:42 GMT, [EMAIL PROTECTED] (Boris Savov) wrote:

>10'x it works just perfekt but how could i ommit the host .I mean how could
>i use relative path
>
>Neil Deakin wrote:
>
>> The following should work.
>>
>> <img src="jar:http://www.yourdomain.com/some.jar!/images/someImage.png";>
>>
>> / Neil
>>
>> Boris Savov wrote:
>> > Hello,
>> > how could I or could I store some files in one single jar file ...
>> > for example java script files and image files
>> > and than use in an HTML (load from the net..not installed in chrome)
>> > something like this:
>> > <script src="some.jar!/scripts/someScript.js"></script>
>> > bla bla
>> > <img src="some.jar!/images/someImage.png"></script>
>> >
>> > best regards
>> >
>> >
>> >
>> >
>


Reply via email to