• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

configuring Localhost and Java Web Start

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.....


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

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.

TIA

Delphi3
0
delphi3
Asked:
delphi3
  • 3
  • 2
1 Solution
 
Tommy BraasCommented:
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: http://www.gentleware.org/webstart2/Poseidon.jnlp

If your browser launches the file, you're good to go!
0
 
delphi3Author Commented:
orangehead911,


Thanks, I give it a try.

D3
0
 
Tommy BraasCommented:
Good luck! :-)
0
 
delphi3Author Commented:
orangehead911,

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.

Delphi3
0
 
Tommy BraasCommented:
Good luck! :-)
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now