Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | <!DOCTYPE html> |
| 2 | <!-- |
||
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
||
| 4 | contributor license agreements. See the NOTICE file distributed with |
||
| 5 | this work for additional information regarding copyright ownership. |
||
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
||
| 7 | (the "License"); you may not use this file except in compliance with |
||
| 8 | the License. You may obtain a copy of the License at |
||
| 9 | |||
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
||
| 11 | |||
| 12 | Unless required by applicable law or agreed to in writing, software |
||
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
||
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
| 15 | See the License for the specific language governing permissions and |
||
| 16 | limitations under the License. |
||
| 17 | --> |
||
| 18 | <html> |
||
| 19 | <head> |
||
| 20 | <meta charset="UTF-8" /> |
||
| 21 | <title>Sample Application</title> |
||
| 22 | </head> |
||
| 23 | <body> |
||
| 24 | <h2>Sample Application</h2> |
||
| 25 | <p> |
||
| 26 | The example app has been packaged as a war file and can be downloaded |
||
| 27 | <a href="sample.war">here</a> (Note: make sure your browser doesn't |
||
| 28 | change file extension or append a new one). |
||
| 29 | </p> |
||
| 30 | <p> |
||
| 31 | The easiest way to run this application is simply to move the war file |
||
| 32 | to your <b>CATALINA_BASE/webapps</b> directory. A default Tomcat install |
||
| 33 | will automatically expand and deploy the application for you. You can |
||
| 34 | view it with the following URL (assuming that you're running tomcat on |
||
| 35 | port 8080 which is the default): |
||
| 36 | <br /> |
||
| 37 | <a href="http://localhost:8080/sample">http://localhost:8080/sample</a> |
||
| 38 | </p> |
||
| 39 | <p> |
||
| 40 | If you just want to browse the contents, you can unpack the war file |
||
| 41 | with the <b>jar</b> command. |
||
| 42 | </p> |
||
| 43 | <pre> |
||
| 44 | jar -xvf sample.war |
||
| 45 | </pre> |
||
| 46 | <p> |
||
| 47 | Note: <b>CATALINA_BASE</b> is usually the directory in which you |
||
| 48 | unpacked the Tomcat distribution. For more information on |
||
| 49 | <b>CATALINA_HOME</b>, <b>CATALINA_BASE</b> and the difference between |
||
| 50 | them see <b>RUNNING.txt</b> in the directory you unpacked your Tomcat |
||
| 51 | distribution. |
||
| 52 | </p> |
||
| 53 | </body> |
||
| 54 | </html> |