From dfc57517c8fd60f862029d95c25aa01410578c69 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 28 Mar 2026 21:06:57 +0530 Subject: Added hello webapp sample application --- maven/02-hello-webapp/README | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 maven/02-hello-webapp/README (limited to 'maven/02-hello-webapp/README') 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/ -- cgit v1.2.3