Classified Ads setup

This sample contains a working Web application based on JavaServer Faces (JSF) technology.

When the import is complete, follow these steps to run the sample and test it on a server:
  1. Open the Web perspective (click Window > Open Perspective > Web).
  2. Ensure that you have an available supported server:
    1. Open the Servers view (click Window > Show View > Servers).
    2. If the Servers view is empty, define a new server by right-clicking the Servers view and selecting New > Server. Follow the instructions in the New Server wizard.
  3. Target the Web project against a runtime:
    1. In Project Explorer, right-click classifieds and select Properties the Properties for classifieds window opens.
    2. Click Targeted Runtimes.
    3. Select a target runtime from the runtimes list.
  4. In Project Explorer, right-click classifieds and select Run As > Run on Server. The Server Selection window opens.
  5. Select an installed server. The server needs to work with the runtime that you targeted against the Web project.
  6. Click Finish. If the server has not already been started, you are prompted to start it.

The JSF Classified Ads Web site sample publishes to the server. A Web browser window opens and displays an initial page that redirects you to the Web site home page.

Parent topic: Classified Ads

Feedback