Testing JSF Pages with Eclipse WTP

You test JSF Pages with Eclipse WTP as follows:

  1. Install a Web server such as Tomcat or an application server such as JBoss.
  2. Generate Java code
  3. Import the JSF project into Eclipse. The project is built.
  4. Configure your Web server or application server.
  5. Start the database.
  6. Start the Web server or application server using the WTP Servers view.
  7. Right-click the index.jsp under the webroot folder and select Run As > Run on Server.
  8. Select the server you want to use in the list.