Steps to get Sun's cardemo sample running
- Download the latest JSF Reference Implementation here
- In samples dir you will find the cardemo web application archive named jsf-cardemo.war
- Unpack jsf-cardemo.war to a directory of your choice. If you are not familiar with deploying web applications and you are using tomcat, unpack jsf-cardemo.war to CATALINA_HOME/webapps/cardemo directory (where CATALINA_HOME = Tomcat installation directory)
- Remove all jar files from WEB-INF/lib directory but NOT! demo-components.jar
- Copy all jar files from simple.war or blank.war (the MyFaces examples, see getting started) to WEB-INF/lib directory
- Replace WEB-INF/web.xml with web.xml
- Deploy web application. If you unpacked cardemo.war into CATALINA_HOME/webapps/cardemo start tomcat and see cardemo running at http://localhost:8080/cardemo