Sunday, September 7, 2008

Making Tomcat Support JSF

1. Download the latest version of the JSF Reference Implementation from http://java.sun.com/j2ee/javaserverfaces/download.html

2. Unzip the downloaded file. Copy all JAR files files from the lib subdirectory of JSF unzipped folder to the lib subdirectory of Tomcat. (At the time of writing, they are jsf-api.jar jsf-impl.jar)

3. Copy the following two JAR files from the webapps/examples/WEB-INF/lib subdirectory of Tomcat installation to the lib subdirectory of Tomcat
  • jstl.jar
  • standard.jar