Creating JSP applications  JSP application single-sign-on

Chapter 3: Developing Applications

Using a Web application

  1. After you select Use Web Application, click Browse to select a local WAR file to upload to the application server.

  2. When you locate the WAR file, select the file and click Open in the Choose File dialog box.

  3. When the path to the WAR file displays in the JSP Element Definition window, click Upload. When the confirmation that the WAR file was uploaded successfully displays, click OK. The WAR File and Web App Display Name fields are automatically filled in.

    NoteSybase recommends that rather than deploying a Web application from this window, you use a Web application that is already installed on the UA server. Using the Deploy button only works for simple applications that do not require post-deployment configuration.

  4. Enter the Initial Resource—the initial JSP page to display.

  5. Select from these options:

  6. Input Parameters – enter the input parameter names as defined by the JSP code.

    1. You must use a name, value pattern like this:

      name1=value1&name2=value2&name3=value3
      
    2. The name must be exactly the same as your JSP code’s input parameter’s name. For example, if the JSP page’s code is:

      EPLogin:<input type ="text" name="epuser">
      EPPswd:<input type="password" name="eppassword">
      HostName:<input type="text" name="hostname">
      AssetDN:<input type ="text" name="asset">
      PAI URL:<input type="text" name="paiURL">
      

      The input parameters must then be:

      epuser=tester&eppassword=test123&hostname=drillbit2k&asset=a1=pubs,
          dc=sybase,dc=com&paiURL=jdbc:sybase:Tds:sapphire:5000/pubs2
      




Copyright © 2005. Sybase Inc. All rights reserved. JSP application single-sign-on

View this book as PDF