Exercise 4.1: Showing the index.jsp page

To show the index.jsp page:

  1. Right-click index.jsp in the WebFacing Projects folder.
    Popup menu for WebFacing project icon with run on server selected
  2. Click Run > Run on server on the pop-up menu.

    A Server Selection dialog opens.
    Server selection dialog

    You can avoid having this dialog open every time you select run on server.

  3. Leave the Manually define a server radio button selected.
  4. Click the WebSphere v6.0 Server server. This is the WebSphere Test Environment for Version 6.0.
  5. Select the Set server as project default (do not prompt) check box.
  6. Click Finish.

    The WebSphere Application Server test environment starts. A Server Selection information message dialog opens. Click Run in Background. After a few moments the browser opens in the upper right view area of the workbench. Be patient; it takes time for the application server to start on your workstation.

    The minimum memory requirement for running the WebSphere Application Server test environment is 768 MB according to the IBM announcement letter for the product Version 6. You can run this WebFacing project successfully on systems with 256 MB. It will take more time for the application server to start if you are working on a workstation that has less than the required memory. The system speed will also have an impact on the application server start up time. Eventually you will see the index.jsp page that has been generated by the IBM WebFacing Tool opening in the workbench's built-in browser.

    Here you see the browser inside the workbench with the index.jsp page displayed.
    Browser with index page

    Tip: To enlarge the browser window to the size of the workbench window, double-click the browser title bar. To get it back to its original size in the upper right hand workbench view area, double-click the enlarged browser window title bar.

    You have a choice of running WebSphere Application Server Version 5, Version 5.1 or Version 6.0 in the workbench test environment. In this tutorial you will be using WebSphere Application Server Version 6.0 in the Test Environment and J2EE level 1.4.

You have set the WebSphere Test Environment to test the application locally and now you are ready to begin Exercise 4.2: Testing the WebFacing application.