wood burning stoves*
The moose likes JNLP and Web Start and the fly likes Issue with launch of application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Issue with launch of application" Watch "Issue with launch of application" New topic
Author

Issue with launch of application

Suhas Mohamedali
Greenhorn

Joined: Jun 05, 2012
Posts: 29
Please find my JNLP below located at ROOT folder of apache tomcat.




When I launch the application directly by invoking the JNLP file the application starts perfectly.
But when I tried to launch the application using an HTML file

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>Custom Progress Bar Demo in a Java Web Start Application</h1>
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var url = "http://localhost:8080/Test.jnlp";
deployJava.createWebStartLaunchButton(url, '1.6.0');
</script>
<noscript>JavaScript is required for this page.</noscript>

</body>
</html>


Is is showing an error message like the client.cfg file is not found at C:\User\Desktop.
Currently the cfg file is located at the ROOT folder.

Please suggest how to resolve this issue.



 
jQuery in Action, 2nd edition
 
subject: Issue with launch of application