summaryrefslogtreecommitdiff
path: root/spring-framework/00-config-webapps
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-04-25 21:53:33 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-04-25 21:53:33 +0530
commit4afcff940551079617e8f4116e52bb0ef9df7fcc (patch)
treecbaed6a2a53c7d032bfafaa38b94e4fc607f3e76 /spring-framework/00-config-webapps
parent7b08f1155e1cb8bf263c3570eeb119970407a037 (diff)
Added Spring Framework sample code
Diffstat (limited to 'spring-framework/00-config-webapps')
-rw-r--r--spring-framework/00-config-webapps/.gitignore6
-rw-r--r--spring-framework/00-config-webapps/README9
2 files changed, 15 insertions, 0 deletions
diff --git a/spring-framework/00-config-webapps/.gitignore b/spring-framework/00-config-webapps/.gitignore
new file mode 100644
index 0000000..e285fe2
--- /dev/null
+++ b/spring-framework/00-config-webapps/.gitignore
@@ -0,0 +1,6 @@
+/.classpath
+/.project
+/.settings/
+/.metadata/
+/target/
+/pom.xml
diff --git a/spring-framework/00-config-webapps/README b/spring-framework/00-config-webapps/README
new file mode 100644
index 0000000..6786e0f
--- /dev/null
+++ b/spring-framework/00-config-webapps/README
@@ -0,0 +1,9 @@
+Run this command to clean and package the application, start Tomcat and deploy the application:
+
+ mvn clean package cargo:run
+
+Application will be accessible via http://localhost:8080/<maven project artifact id>/
+
+To redeploy the application, run the below Maven command from a different terminal while being inside the Maven project directory:
+
+ mvn package cargo:redeploy