Skip to content

Instantly share code, notes, and snippets.

@tchxi
tchxi / README.md
Created April 25, 2024 18:14 — forked from subhendu-de/README.md
Deploy JSP website using Docker + Apache Tomcat from scratch(with IDEs like Eclipse)

Docker + Apache Tomcat + JSP

This article describes how to deploy a JSP website using Docker and Apache Tomcat.

Directory structure

Create a "Dynamic Web Project" in eclipse and add a jsp file index.jsp

Organize your working directory like this:

@tchxi
tchxi / README.md
Created April 25, 2024 18:14 — forked from hallazzang/README.md
Deploy JSP website using Docker + Apache Tomcat from scratch(without IDEs like Eclipse, IntelliJ, etc.)

Docker + Apache Tomcat + JSP

This article describes how to deploy a JSP website using Docker, Apache Tomcat.

Directory structure

I found a way to make a minimal JSP web application from scratch, without any IDE. (ref: https://www.youtube.com/watch?v=JEBR_KJdzSk)

First, organize your working directory like this: