[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: RE: [WebView] Single page application - relative resource in a different jar
From: "Hruda, Steve" <steve.hruda () hexagongeospatial ! com>
Date: 2016-11-21 9:30:27
Message-ID: C7C75E3032555446BED1E26C40C3CE6601FD9987 () EU-MBX3 ! ingrnet ! com
[Download RAW message or body]
Hi Guru,
I only moved the Pic_mountain.jpg to another jar. So therefore the layout of my jar \
files look like:
html1.jar
-> webview.html
-> css
font-awesome.css
-> fonts
fontawesome-webfont.eot
fontawesome-webfont.svg
fontawesome-webfont.ttf
fontawesome-webfont.woff
fontawesome-webfont.woff2
FontAwesome.otf
executeOnStart.js
index.html
html2.jar
->webview.html
Pic_mountain.jpg
I java code is still the same: \
https://github.com/shruda/jdk/tree/master/webview/singlepage
Best Regards,
Steve
Diese E-Mail wurde versandt im Auftrag des Unternehmens Intergraph Ges.m.b.H.
Vertretungsberechtigte Geschäftsführer: Maximilian Weber
Sitz der Gesellschaft: Margaretenstraße 70/I/1, 1050 Wien, Österreich, Tel. +43 (1) \
9610567-0 Eingetragen beim Handelsgericht Wien, Firmenbuch-Nr.: FN 116859 b
Umsatzsteuer-Identifikationsnummer / VAT-ID: ATU15138401, Steuer-Nummer: 264/4807
This E-Mail has been sent on behalf of the company Intergraph Ges.m.b.H.
Authorised Managing Directors: Maximilian Weber
Registered office and Austrian headquarters: Margaretenstr. 70/I/1, 1050 Wien, \
Austria, Tel. +43 (1) 9610567-0 The company is recorded at the commercial court of \
Vienna under the company register number FN 116859 b
VAT-ID: ATU15138401, Austrian Tax ID: 264/4807
Diese E-Mail (mit zugehörigen Dateien) enthält möglicherweise Informationen, die \
vertraulich sind, dem Urheberrecht unterliegen oder ein Geschäftsgeheimnis \
darstellen. Falls Sie diese Nachricht irrtümlicherweise erhalten haben, \
benachrichtigen Sie uns bitte umgehend, indem Sie eine Antwort senden, und löschen \
Sie bitte diese E-Mail und Ihre Antwort darauf. Sämtliche aufgeführten Ansichten \
oder Meinungen sind ausschließlich diejenigen des Autors und entsprechen nicht \
notwendigerweise denen des Unternehmens Intergraph.
This E-Mail (and any attachments) may be confidential and protected by legal \
privilege. If you are not the intended recipient please notify us immediately by \
replying to the sender and delete this E-Mail and your reply from your system. All \
the views and opinions published here are solely based on the author's own opinion \
and should not be considered necessarily as reflecting the opinion of Intergraph.
-----Original Message-----
From: Guru Hb [mailto:guru.hb@oracle.com]
Sent: Saturday, November 19, 2016 5:25 AM
To: Hruda, Steve <steve.hruda@hexagongeospatial.com>
Cc: openjfx-dev@openjdk.java.net
Subject: Re: [WebView] Single page application - relative resource in a different jar
Hi Steve,
Could you please share the layout of jar file (two jars) so i can re-create the \
problem and let you know the failure reason.
Thanks,
Guru
> On 16-Nov-2016, at 2:37 PM, Hruda, Steve <steve.hruda@hexagongeospatial.com> wrote:
>
> Hi,
> short question from my side. I've submitted the following bug report which is fixed \
> with 8u112.
>
> - [WebView] Icon font doesn't work if single page application will be \
> loaded from jar
> https://bugs.openjdk.java.net/browse/JDK-8152420
>
> I've tested it and I've found a new related one.
>
> A relative resources only works if the resource is located in the same jar as it's \
> root.
> E.g. I changed my test application so that the "pic_mountain.jpg" is located at \
> another jar but it is still relative to my index.html.
> Result: It can't see the image.
>
> Is that expected?
>
> Best Regards,
> Steve
>
>
>
> Diese E-Mail wurde versandt im Auftrag des Unternehmens Intergraph Ges.m.b.H.
> Vertretungsberechtigte Geschäftsführer: Maximilian Weber Sitz der
> Gesellschaft: Margaretenstraße 70/I/1, 1050 Wien, Österreich, Tel. +43
> (1) 9610567-0 Eingetragen beim Handelsgericht Wien, Firmenbuch-Nr.: FN
> 116859 b Umsatzsteuer-Identifikationsnummer / VAT-ID: ATU15138401,
> Steuer-Nummer: 264/4807
>
> This E-Mail has been sent on behalf of the company Intergraph Ges.m.b.H.
> Authorised Managing Directors: Maximilian Weber Registered office and
> Austrian headquarters: Margaretenstr. 70/I/1, 1050 Wien, Austria, Tel.
> +43 (1) 9610567-0 The company is recorded at the commercial court of
> Vienna under the company register number FN 116859 b
> VAT-ID: ATU15138401, Austrian Tax ID: 264/4807
>
> Diese E-Mail (mit zugehörigen Dateien) enthält möglicherweise Informationen, die \
> vertraulich sind, dem Urheberrecht unterliegen oder ein Geschäftsgeheimnis \
> darstellen. Falls Sie diese Nachricht irrtümlicherweise erhalten haben, \
> benachrichtigen Sie uns bitte umgehend, indem Sie eine Antwort senden, und löschen \
> Sie bitte diese E-Mail und Ihre Antwort darauf. Sämtliche aufgeführten Ansichten \
> oder Meinungen sind ausschließlich diejenigen des Autors und entsprechen nicht \
> notwendigerweise denen des Unternehmens Intergraph.
> This E-Mail (and any attachments) may be confidential and protected by legal \
> privilege. If you are not the intended recipient please notify us immediately by \
> replying to the sender and delete this E-Mail and your reply from your system. All \
> the views and opinions published here are solely based on the author's own opinion \
> and should not be considered necessarily as reflecting the opinion of Intergraph.
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic