Nothing more, nothing less.
- Edit
src/main/webapp/WEB-INF/web.xml
and change the value ofcontext-param
hello.name
to whatever you like.- Consider marking
web.xml
--assume-unchanged
.$ git update-index --assume-unchanged src/main/webapp/WEB-INF/web.xml
- Consider marking
- Execute the following
$ ./gradlew clean build appRunWar # or... $ ./gradlew clean build appRunWar -PhttpPort=<your preferred port> # Debugging $ ./gradlew clean build appRunWarDebug # or... $ ./gradlew clean build appRunWar -PhttpPort=<your preferred application listening port> -PdebugPort=<your preferred debugging port>
- Browse to http://localhost:8080/, replacing
8080
with your preferred application listening port if you so configured. Don't forget to attach a debugger if you're runningappRunWarDebug
.