JDK-6606753 : DT - createWebStartLaunchButton() results in page with "1" on it after button is pressed.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-19
  • Updated: 2010-09-17
  • Resolved: 2008-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u10 b06Fixed 7Fixed
The javascript method createWebStartLaunchButton (when used with the dt plugins installs) puts an image button on the web page.   When pressing this button the webstart application is launched, but the web page changes to a blank page with just a 1 on it. (looks like the return value of deployJava.launch().

EVALUATION calling deployJava.launch(...) not inside an if statement evaluated to 1 or true, and caused this. just changing to: ''if (deployJava.launch("' + jnlp + '")) {}' fixes it.