JSP with JDBC connection to a MySQL database

Before we start with this example for connecting and reading data from a MySQL database, we assume that you already have a JSP/Servlet container like Apache Tomcat, Jetty etc. and a MySQL database installed on your computer. An easy to understand article about installing Apache Tomcat can be found in previous tutorials here on Librescript. […]

Installing Apache Tomcat 9 on Windows or macOS

To develop JSPs or servlets, you need a Tomcat container and the latest JDK (Java Development Kit) to be installed on your local computer. To find out if the JDK is already installed on your computer, you can open a command prompt window (CMD) or a terminal on macOS and run: $ java -version java […]