| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| --> |
| |
| <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd"> |
| |
| <document> |
| <body> |
| <section name="Steps to get Sun's cardemo sample running"> |
| <ol> |
| <li>Download the latest JSF Reference Implementation <a href="http://java.sun.com/j2ee/javaserverfaces/download.html">here</a></li> |
| <li>In samples dir you will find the cardemo web application archive named jsf-cardemo.war</li> |
| <li>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)</li> |
| <li>Remove all jar files from WEB-INF/lib directory but NOT! demo-components.jar</li> |
| <li>Copy all jar files from simple.war or blank.war (the MyFaces examples, see getting started) to WEB-INF/lib directory</li> |
| <li>Replace WEB-INF/web.xml with <a href="cardemoweb.html">web.xml</a></li> |
| <li>Deploy web application. If you unpacked cardemo.war into CATALINA_HOME/webapps/cardemo start tomcat and see cardemo running at http://localhost:8080/cardemo</li> |
| </ol> |
| </section> |
| </body> |
| </document> |