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


Groups > comp.lang.java.programmer > #20046

Re: How to embed JNLP file into HTML page ?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to embed JNLP file into HTML page ?
Date 2012-12-02 14:08 -0800
Organization Canadian Mind Products
Message-ID <n9knb8di38r2r0odi3ic9qkrhuis8vvmf9@4ax.com> (permalink)
References <d2798c24-0296-4080-83b4-972c62fc647b@googlegroups.com>

Show all headers | View raw


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. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web