When the response of JSP, which I rarely touch, suddenly came in, I was wondering what to do first, so I will leave it as a memo
helloworld├── docker-compose.yml
└── webapps
    └── `Application name`
        ├── WEB-INF
        │   └── lib
        │       └── `Required libraries such as JSTL`
        └── index.jsp
docker-compose.yml
version: '3'
services:
  tomcat:
    image: tomcat:9.0.13-jre11-slim
    volumes:
      - ./webapps:/usr/local/tomcat/webapps
    ports:
      - 8080:8080
webapps/helloworld/index.jsp
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Hello, world!</title>
</head>
<body>
  <h1><%= "Hello, world!" %></h1>
</body>
</html>
docker-compose uplocalhost: 8080 / helloworld / index.jsp.WEB-INF / lib in the application, it worked.jstl-1.2.jar http://central.maven.org/maven2/javax/servlet/jstl/1.2/jstl-impl-1.2.jar http://central.maven.org/maven2/org/glassfish/web/jstl-impl/1.2/Recommended Posts