How to embed JNLP file into HTML page ?

Discussion in 'Java' started by L Ng, Dec 2, 2012.

  1. L Ng

    L Ng Guest

    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!
     
    L Ng, Dec 2, 2012
    #1
    1. Advertisements

  2. L Ng

    Roedy Green Guest

    On Sun, 2 Dec 2012 11:55:30 -0800 (PST), L Ng <>
    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.
     
    Roedy Green, Dec 2, 2012
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Olav Tollefsen

    How to embed dynamic generated image into HTML?

    Olav Tollefsen, Mar 1, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,080
    Olav Tollefsen
    Mar 1, 2004
  2. John
    Replies:
    2
    Views:
    1,317
  3. Ferman
    Replies:
    0
    Views:
    591
    Ferman
    Aug 13, 2003
  4. Replies:
    3
    Views:
    12,738
    Beauregard T. Shagnasty
    Jan 10, 2006
  5. Ankur
    Replies:
    2
    Views:
    5,277
    Diego
    Nov 2, 2006
  6. yukijocelyn

    Embed ".html" file into ".aspx" file

    yukijocelyn, Aug 6, 2007, in forum: .NET
    Replies:
    0
    Views:
    2,236
    yukijocelyn
    Aug 6, 2007
  7. Mark123
    Replies:
    0
    Views:
    860
    Mark123
    Sep 2, 2008
  8. Duke
    Replies:
    1
    Views:
    274
    Tom de Neef
    Apr 18, 2008
Loading...