Using a JSP template  JSP portlet single-sign-on check box

Chapter 4: Building Portlets

Using a remote URL

  1. Use Remote URL – select this option if the JSP is not part of a Web application in the same Web container as the portal.

    NoteSince that JSP is not deployed in the portal Web container, you do not need to fill in the fields associated with Use Web Application option. You also cannot select Single Sign-on.

  2. 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:

      <BR>EPLogin:<input type ="text" name="epuser">
      <BR>EPPswd:<input type="password" name="eppassword">
      <BR>HostName:<input type="text" name="hostname">
      <BR>AssetDN:<input type ="text" name="asset">
      <BR>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
      
  3. When you are satisfied with your entries, click Next.

    NoteThe Preview button does not work for JSP portlets.

  4. Enter an element name, then click Finish. You return to the Portlet Builder.

Regardless of the element type, the procedure to save the element and portlet is the same. See“Saving portlets” for instructions.





Copyright © 2004. Sybase Inc. All rights reserved. JSP portlet single-sign-on check box

View this book as PDF