Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20045 > unrolled thread

How to embed JNLP file into HTML page ?

Started byL Ng <nguyendofx@gmail.com>
First post2012-12-02 11:55 -0800
Last post2012-12-02 14:08 -0800
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  How to embed JNLP file into HTML page ? L Ng <nguyendofx@gmail.com> - 2012-12-02 11:55 -0800
    Re: How to embed JNLP file into HTML page ? Roedy Green <see_website@mindprod.com.invalid> - 2012-12-02 14:08 -0800

#20045 — How to embed JNLP file into HTML page ?

FromL Ng <nguyendofx@gmail.com>
Date2012-12-02 11:55 -0800
SubjectHow to embed JNLP file into HTML page ?
Message-ID<d2798c24-0296-4080-83b4-972c62fc647b@googlegroups.com>
Hi All,

is it possible to embed jnlp or jar file in to HTML page? The reason is I want to open a .jnlp app on web browser instead of web start. Does anyone know how to make it work?

Many thanks!

[toc] | [next] | [standalone]


#20046

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-12-02 14:08 -0800
Message-ID<n9knb8di38r2r0odi3ic9qkrhuis8vvmf9@4ax.com>
In reply to#20045
On Sun, 2 Dec 2012 11:55:30 -0800 (PST), L Ng <nguyendofx@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>is it possible to embed jnlp or jar file in to HTML page? 
>The reason is I want to open a .jnlp app on web browser 
>instead of web start. Does anyone know how to make it work?

You want to launch a jar directly, without webstart?
You could do that with a href="xxx.jar"  

For that to work, your user would need to have the jar extension
configured to  invoke java.exe -jar %1  

More likely it would be configured to just download.

You can execute it as an applet with the <applet tag.
see http://mindprod.com/jgloss/applet.html

But for JNLP, it makes no sense to do anything with it but execute
javaw.exe
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish 
as couch potatoes who hire others to go to the gym for them. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web