You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -25,25 +25,32 @@ Here's an example of some things to check after running the build script:
25
25
26
26
## Run
27
27
28
-
To run and test that Tomcat is serving the the war file:
28
+
Here are the summarized commands to run and test that Tomcat is serving the war file:
29
29
30
30
docker run --rm -p 8080:8080 -d demo-java
31
31
docker exec -ti $(docker ps -ql) bash
32
32
curl localhost:8080/demo/Hello
33
+
curl localhost:8080/demo/index.jsp
33
34
exit
34
35
docker stop $(docker ps -ql)
35
36
36
37
Then you can hit the the [HOSTNAME]:8080/demo/Hello and to verify that Tomcat is servering the demo.war file. You should see an html page that says "Hello World". The output should look similar:
0 commit comments