+

Search Tips   |   Advanced Search

Export the WAR file and install the portlet

Export the IBM Rational Application Developer project to a war file and install the portlet on a portal page.

Ensure you have properly followed the steps in Finish coding the portlet JSP.

  1. Export the Rational Application Developer project to a war file called PersOffers.war.

    1. Right click on Pers_Offers and select Export > WAR file.

    2. In the Destination field, type filepath/PersOffers.war.

    3. Select Export source files.

    4. Click Finish.

  2. Start WebSphere Portal.

  3. Log in as the Portal administrator (wpsadmin).

  4. Open Administration > Portlet Management > Web Modules.

  5. Click Install.

  6. Complete the installation of PersOffers.war. Verify installation was successful.

  7. Open Portlet Management > Portlets.

  8. Search for the Pers_Offers portlet and grant Privileged User to All Authenticated Portal Users.

  9. Create a new page called Pers Offers by completing the following steps:

    1. Select Portal User Interface > Manage Pages.

    2. Select Content Root > Personalization.

    3. Select New Page.

    4. Label the Page Pers Offer.

  10. Add the Pers_Offers portlet to the page.

  11. Click Done.

    The portlet is not ready to execute yet. If you try, you will get an error.

We can now import the Personalization workspace resource collections.


Parent: Develop a personalized portlet

Previous topic: Finish coding the portlet JSP

Next topic: Import Personalization Workspace resource collections