The easiest way to run this application is simply to move the war file to your CATALINA_HOME/webapps directory. Tomcat will automatically expand and deploy the application for you. You can view it with the following URL (assuming that you're running tomcat on port 8080 as is the default):
http://localhost:8080/sample
If you just want to browse the contents, you can unpack the war file with the jar command. jar -xvf sample.war
No comments:
Post a Comment