Getting Started Samples: Portal

This sample demonstrates a basic Portal that incorporates various web sites and allows the user to personalize web content. Instead of running this finished sample, you can create this application by running the tutorial Getting Started: Portals.

The sample application allows a user to sign on to the Portal and personalize it by choosing a favorite color. The application contains the following components:

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located at:

BEA_HOME\weblogic81\samples\platform\GettingStarted_Portal_Sample\GettingStarted_Portal_Sample.work

To Run the Sample

  1. Start WebLogic Server in the workshop domain.
  2. Open PortalProj_Sample\my.portal and click the Start button.
  3. When the Workshop Test Browser launches, click the Page 2 tab.

    Notice that the user must be logged in to access the Favorite Color application.
  4. Click the Page 1 tab and click the login link.
  5. Login with the username/password combination weblogic/weblogic.
  6. Click the Page 2 tab.

    Notice that the Favorite Color Application is visible once the user is logged in.
  7. Select a favorite color and click Click.
  8. Click the Page 1 tab and click the logout link.
  9. Login again with the username/password combination weblogic/weblogic.
  10. Click the Page 2 tab.

    Notice that the Portal remembered the user's favorite color while the user was logged out.

Related Topics

Portal Tutorials