Part II of a three part tutorial, this tutorial demonstrates how to put together a basic JSF war file for deployment to a Tomcat 6 server, although the simple WAR file can be deployed to any Servlet Engine, be it WebSphere, WebLogic, Glassfish, Oracle, etc.
This tutorial demonstrates how to create a proper war structure, do a basic web.xml deployment descriptor configuration for the FacesServlet that implements the FrontController Design Pattern, and it shows a simple faces-config.xml file.
A HelloWorld Java Server Page (JSP), helloworld.jsp, is created that is then invoked through the JSF framework on the Tomcat6 server to ensure the JSF1.2 environment is configured properly.
[endtext]
This tutorial demonstrates how to create a proper war structure, do a basic web.xml deployment descriptor configuration for the FacesServlet that implements the FrontController Design Pattern, and it shows a simple faces-config.xml file.
A HelloWorld Java Server Page (JSP), helloworld.jsp, is created that is then invoked through the JSF framework on the Tomcat6 server to ensure the JSF1.2 environment is configured properly.