nglKumar
nglKumar

Reputation: 11

How to get the status of a javaws launch in Web Server

I'm trying to launch a JNLP file from my struts action, on clicking a link on a JSP. How can i get to know that the launch is successful on client side or is there any failure? If it is not successful then i need to get an indication to my JSP or struts action. Is it possible?

Upvotes: 1

Views: 130

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

How can i get to know that the launch is successful on client side..?

Have the JWS app. open a page at your site that is something like:

http://our.com/launchstatus.jsp?name=OurApp&code=xXn5Ha9f4

Where the code is specific to that request & is provided as a property in a dynamically generated JNLP file. Any apps. for which you do not get a report back, failed for some reason.

Upvotes: 1

Related Questions