diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-28 21:06:57 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-28 21:06:57 +0530 |
| commit | dfc57517c8fd60f862029d95c25aa01410578c69 (patch) | |
| tree | b9b71e5516c3280564507c7432dedd75cba60acf /maven/02-hello-webapp/README | |
| parent | a405bf7f782f916236a9afd238eb50317fac2bf6 (diff) | |
Added hello webapp sample application
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/ |
