Add servlets to the portal


You can add servlets to your portal using the servlet invoker portlet (ServletInvoker). In order to modify this portlet to point to your serlvet, take the following steps:

  1. Go to the Administration page.
  2. Select Portlet Management from the list on the left.
  3. Select Portlets from the options under Portal Management.
  4. Find the ServletInvoker portlet. You may do this by browsing the list of available portlets, or by using the Search feature, with "Title starts with" set to "ServletInvoker".
  5. Select the Configure option for the ServletInvoker portlet.
  6. On the configuration page, you will see a section entitled Parameters and Values. You may add your chosen URL to this list by entering "url" in the New parameter box and your URL in the New value box. Note: if the "url" parameter is already in this list, you may remove it by using "Delete parameter."
  7. If you wish to change the title of the portlet (the default is "ServletInvoker"), select I want to set titles and descriptions. On the following page, select Edit next to the language-specific title you wish to modify, make your changes, then select OK.
  8. Select OK to save your changes.
  9. In order to place the portlet on a page:

    1. return to My Portal;
    2. select the page where you wish to deploy this portlet;
    3. select Edit Page (under Administration);
    4. select Add Portlet under the column where you wish to see the servlet invoker portlet added;
    5. select the portlet from the given list; and
    6. select OK.

The "url" configuration parameter is applied globally to the servlet invoker portlet wherever it is placed in the portal (on any page). If you wish to display more than one servlet on a single page, first copy or clone the portlet using Administration > Portlets > Portlet Management > Portlets. There you may select the portlet from the given list and select the Copy icon.

 

See also

Home |

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.