blob: a3db667e17c2ce68ce44c547329126f0ff6fb124 [file] [log] [blame]
Hongqing Liufd5ee812014-05-10 16:32:51 +08001<!--
2 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<html>
18<head>
19<meta name="author" content="Ben Souther" />
20<title>Sample Application</title>
21</head>
22<body>
23<h2>Sample Application</h2>
刘洪青6266f992017-05-15 21:21:03 +080024 <p>
25 The example app has been packaged as a war file and can be downloaded
26 <a href="sample.war">here</a> (Note: make sure your browser doesn't
Hongqing Liufd5ee812014-05-10 16:32:51 +080027 change file extension or append a new one).
28 </p>
刘洪青6266f992017-05-15 21:21:03 +080029 <p>
30 The easiest way to run this application is simply to move the war file
31 to your <b>CATALINA_HOME/webapps</b> directory. Tomcat will automatically
32 expand and deploy the application for you. You can view it with the
33 following URL (assuming that you're running tomcat on port 8080
Hongqing Liufd5ee812014-05-10 16:32:51 +080034 as is the default):
35 <br />
36 <a href="http://localhost:8080/sample">http://localhost:8080/sample</a>
37 </p>
38 <p>
刘洪青6266f992017-05-15 21:21:03 +080039 If you just want to browse the contents, you can unpack the war file
Hongqing Liufd5ee812014-05-10 16:32:51 +080040 with the <b>jar</b> command.
Hongqing Liufd5ee812014-05-10 16:32:51 +080041 </p>
刘洪青6266f992017-05-15 21:21:03 +080042 <pre>
43 jar -xvf sample.war
44 </pre>
Hongqing Liufd5ee812014-05-10 16:32:51 +080045</body>
46</html>