Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

configuring Localhost and Java Web Start

Posted on 2004-04-04
5
Medium Priority
?
183 Views
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.....


<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
Comment
Question by:delphi3
[X]
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
5 Comments
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 200 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: http://www.gentleware.org/webstart2/Poseidon.jnlp

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

Author Comment

by:delphi3
ID: 10755217
orangehead911,


Thanks, I give it a try.

D3
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10755266
Good luck! :-)
0
 
LVL 4

Author Comment

by:delphi3
ID: 10765897
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
 
LVL 14

Expert Comment

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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This video teaches viewers about errors in exception handling.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

650 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