Personalization Feature of YourCo

To customize the Employee Center:

  1. From the Home page, click Employee Center.
  2. Login as a valid YourCo employee.
  3. From the Employee Center page, click Customize on the bottom navigation menu.

Initially, two of our YourCo employees have personalized Employee Center pages and one does not. You can customize the Employee Center in several ways. You can choose to:

  • Display YourCo's current stock price
  • Include the rotating quote
  • Add your favorite links for news, finance, and leisure

When you customize your Employee Center page, a servlet stores your choices in the SessionBean. (This bean is created during login.)

  • (locations are relative to <was_root>/hosts/default_host)
  • Look for the servlets that maintain personalization in WSsamples_app/servlets/WebSphereSamples/YourCo/Employee.

To return to the Employee Center: click Main on the bottom navigation menu.

Before an Employee Center page is displayed, the Center servlet checks the SessionBean. If you have customized your page with your favorite links, you will see CenterResults.jsp (or CenterResultPoll.jsp if you took the poll). If you have not chosen any special links, you will see CenterGeneric.jsp (or CenterGenericPoll.jsp if you took the poll). All of these pages contain code to test for your quote and stock choices.

  • (locations are relative to <was_root>/hosts/default_host)
  • Look for the Center Java files in WSsamples_app/servlets/WebSphereSamples/YourCo/Employee.
  • Look for the Center JSPs in WSsamples_app/web/YourCo/Employee.