You test JSF Pages with Eclipse WTP as follows:
-
Install a Web server such as Tomcat or an application server such as JBoss.
-
Generate Java code
-
Import the JSF project into Eclipse. The project is built.
-
Configure your Web server or application server.
-
Start the database.
-
Start the Web server or application server using the WTP Servers view.
-
Right-click the index.jsp under the webroot folder and select .
-
Select the server you want to use in the list.