This code is for a save contacts, written in Java Server Pages (JSP). The purpose of this code is to display the schedule of a school in a web page. The code is written in Java Server Pages (JSP) and uses the Java Servlet API, JSTL, Java EE 21 LTE and Apache Tomcat 10.0.2.
- MVC (Model-View-Controller)
- DAO (Data Access Object)
- Singleton
- Builder
The necessary libraries are imported using the following code:
- Java Servlet API
- JSTL
- Java EE 21 LTE
- Apache Tomcat 10.0.2
The user interface (UI) and user experience (UX) are designed using the following technologies:
- HTML5
- CSS3
- JavaScript
Login Page |
:--: |
Contact List |
:--: |
Add Contact |
:--: |
Contact List |
:--: |
Details |
:--: |
Delete Contact |
How to run the code in your computer using Eclipse IDE and Apache Tomcat 10.0.2 (or newer) server (localhost)
- Download the code from this repository.
- Open Eclipse IDE.
- Click on File > Open Projects from File System.
- Click on Directory and select the folder where you downloaded the code.
- Click on Finish.
- Click on Run > Run Configurations.
- Click on Apache Tomcat > Tomcat v10.0 Server at localhost.
- Click on the tab Classpath.
- Click on Add External JARs.
- Select the JARs from the folder where you downloaded the code.
- Click on Apply and Close.
- Click on Run > Run Configurations.
- Click on Apache Tomcat > Tomcat v10.0 Server at localhost.
- Click on the tab Server Locations.
- Select the option Use Tomcat installation (takes control of Tomcat installation).
- Click on Apply and Close.
- Click on Run > Run Configurations.
- Click on Apache Tomcat > Tomcat v10.0 Server at localhost.
- Click on Run.
- Open your browser and type the following URL: http://localhost:8080/contacts-jsp/
This code is written by Frank Laércio.
This project is licensed under the MIT License rules - see the LICENSE.md file for more details.