summaryrefslogtreecommitdiff
path: root/maven/03-hello2-form-submission-webapp/README
diff options
context:
space:
mode:
Diffstat (limited to 'maven/03-hello2-form-submission-webapp/README')
-rw-r--r--maven/03-hello2-form-submission-webapp/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/maven/03-hello2-form-submission-webapp/README b/maven/03-hello2-form-submission-webapp/README
index 015d62f..40ea4b3 100644
--- a/maven/03-hello2-form-submission-webapp/README
+++ b/maven/03-hello2-form-submission-webapp/README
@@ -2,11 +2,18 @@ This webapp shows how a servlet is used to process a form submission.
Command to generate this webapp from Maven archetype:
+Linux:
mvn archetype:generate -DgroupId=com.example.servletapp \
-DartifactId=hello2 \
-DarchetypeArtifactId=maven-archetype-webapp \
-DinteractiveMode=false
+Windows:
+mvn archetype:generate "-DgroupId=com.example.servletapp" ^
+ "-DartifactId=hello2" ^
+ "-DarchetypeArtifactId=maven-archetype-webapp" ^
+ "-DinteractiveMode=false"
+
Open the project inside the IDE (like Visual Studio Code).
Update the pom.xml file to the one provided here.