Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4546392

Should be able to pass a QueryString into WebStart.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 5.0
    • 1.0.1
    • deploy
    • tiger
    • generic
    • generic



      Name: nt126004 Date: 12/04/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)


      Since webstart is launched via a hyperlink, the distribution method of an
      application can be a simple link in an email. This eventually brings up the
      question of whether or not we could send out an email with a link of the form:

      http://MyDomain.com/webstart.jnlp?arg=Personalized_start_operation

      and have the query string read by the application. This could possibly be read
      via a System.getProperty() method.

      We have a document management system and we would like to be able to send
      emails referrng to a specific document. Clicking on the link would start the
      app, let them log in, and locate the particular document for them. However,
      since we cannot send anything through the jnlp link, we cannot do this.

      A possible workaround would be to use some JavaScript to rewrite the jnlp file
      on the fly. I am not sure how this would work in general, but we cannot use it
      anyway since we have to sign our application and jnlp file. Thus to have dynamic
      jnlp files we would have to rebuild our jar file for every access to our server.

      This request is similar to bug 4394588 except it adds the extra functionality to webstart
      to parse the QueryString as System properties which can be read by the Java
      application upon launch.
      (Review ID: 136273)
      ======================================================================

            herrick Andy Herrick (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: