Creating a project and setting up Maven dependencies

We will perform the following steps to create the Maven project for our application:

  1. Create a Maven web project as described in Chapter 2, Creating a Simple JEE Web Application.
  2. Name the project CourseManagementJDBC.
  3. Add dependencies for servlet and JSP, but do not add a dependency for JSF.
  1. To add the dependency for JSTL, open pom.xml and go to the Dependencies tab. Click on the Add... button. Type javax.servlet in the search box and select jstl:
Figure 4.10: Adding a dependency for jstl
  1. Add the dependency for the MySQL JDBC driver too:
Figure 4.11: Adding dependency for the MySQL ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.