diff options
Diffstat (limited to 'maven/02-hello-webapp/README')
| -rw-r--r-- | maven/02-hello-webapp/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/maven/02-hello-webapp/README b/maven/02-hello-webapp/README new file mode 100644 index 0000000..2f95e85 --- /dev/null +++ b/maven/02-hello-webapp/README @@ -0,0 +1,11 @@ +mvn archetype:generate + +Select org.apache.maven.archetypes:maven-archetype-webapp as the archetype. + +Run below command to generate a .war file (web application archive) + + mvn clean package + +Copy the generated hello.war file (inside the target directory) to the webapps directory of Tomcat installation. + +Access the URL: http://localhost:8080/hello/ |
