How to embed JNLP file into HTML page ?

L

L Ng

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!
 
R

Roedy Green

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top