Step 2: Viewing the JSP files in the Commerce Enabled Portal development environment

In the previous step of the tutorial (View the Commerce Enabled Portal starter store in the WebSphere Portal development environment), you viewed the consumer direct commerce enabled starter store in the Commerce Enabled Portal development environment.

In this step of the tutorial you will view the JSP files for the consumer direct Commerce Enabled Portal starter store.

To view the JSP files for the consumer direct Commerce Enabled Portal starter store in the WebSphere Commerce development environment, do the following:

  1. If the Commerce Enabled Portal development environment is not already open then open it:
    1. From the Start menu, select Programs > IBM WebSphere Commerce Developer Business or Professional Edition > WebSphere Commerce development environment.
    2. Start the WebSphere Commerce Test Server.
      1. At the bottom of the window, click Servers
      2. Select the WebSphere Commerce Test Server. Right click. From the menu, select Start.
  2. After the server starts, do the following:
    1. From the Window menu, select Open Perspective > Web.
  3. In the Project Navigator, locate Stores.
  4. Expand Stores, then expand Web Content, then expand Winstons. Winstons is the name of the consumer direct Commerce Enabled Portal starter store.
  5. Expand portal_jsp. portal_jsp contains all of the JSP files used in the Winstons store. The JSP files are divided into several areas, for example AuctionArea, MessagingArea, and ShoppingArea. Winstons follows the same structure as the consumer direct starter store. For more information about the structure of the JSP files, see Starter store conventions.
  6. For the purpose of this tutorial we will concentrate on the SubCategoriesDisplay.jsp for the Catalog category. To open this JSP file, do the following:
    1. In portal_jsp, expand ShoppingArea. Then expand CatalogSection, and CategorySubsection.
    2. Locate SubCategoriesDisplay.jsp. Double click on it. SubCategoriesDisplay.jsp opens in the main pane.
    3. Select the Source view.
  7. Familiarize yourself with the page. In the next step of the tutorial you will learn more about the Commerce Enabled Portal specific tags used in the JSP file.
  8. Continue the tutorial by following the steps in Understanding the tags used in Commerce Enabled Portal JSP files.

Feedback