configuring Localhost and Java Web Start

Posted on 2004-04-04
Last Modified: 2010-03-31
Hi All,

As means of testing a java app, is there a way to write a html that will access a java  file that is stored in a localhost location?

I notice that a html page that is accessed on the net looks similar to this.....

    <title>Fetch Remote Apps Webpage</title>
      <h1>Fetch Remote Apps Webpage</h1>
<li><a href="draw.jnlp">Draw</a>

I would like to write something that will simulate the event with a localhost webserver and cause the  Java Web Start to open it?

Yet if there is a better solution I would appreciate it.


Question by:delphi3
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 14

Accepted Solution

Tommy Braas earned 50 total points
ID: 10755152
If you have a webserver running locally all you need to do is install the html file and the accompanying jnlp file in a directory handled by that webserver. Java Web Start should launch automatically, provided your browser knows how to handle jnlp files. You can check and see if there is a mime type defined for jnlp content.

Here's a link for Poseidon for UML CE, a free tool for UML modelling:

If your browser launches the file, you're good to go!

Author Comment

ID: 10755217

Thanks, I give it a try.

LVL 14

Expert Comment

by:Tommy Braas
ID: 10755266
Good luck! :-)

Author Comment

ID: 10765897

I went to the site, started the download and decided that it was too much, and I will close this Q.

Thanks again for responding.

LVL 14

Expert Comment

by:Tommy Braas
ID: 10765959
Good luck! :-)

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 60
servlet web applications   metadata-complete="true" or false 3 201
Print Rhino Java Array in Javascript 1 39
netbeans can not run self signed app 8 14
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question