Creating JSP elements  Including the Secure Web Proxy in a JSP portlet

Chapter 4: Building Portlets

Using a Web application

  1. After you select Use Web Application, click Browse to the right of the WAR File to Upload field and navigate 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.

  4. Click Deploy. When the confirmation that the WAR file was deployed successfully displays, click OK.

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

  6. Complete these options:

  7. 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 © 2004. Sybase Inc. All rights reserved. Including the Secure Web Proxy in a JSP portlet

View this book as PDF