Testing JSF Pages with Apache Tomcat

You test JSF Pages with Apache Tomcat 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. Copy the <ProjectName> folder under the .deployables folder into the Apache Tomcat webapps folder. Where <ProjectName> is the Eclipse project name.
  5. Start the database.
  6. Start Apache Tomcat server.
  7. Run the Web application using the URL: http://<hostname>:8080/<ProjectName>/index.jsp. If Apache Tomcat is installed locally, <hostname> is localhost.