/date-servlet

Java Servlet Example

Primary LanguageJava

Java Servlet Example

This is a simple example project that demonstrates how to use a Servlet to display the current date and time. The project was tested using JDK 11 and Apache Tomcat 10.1.8.

Requriments

To run this project, you will need:

  • Java Development Kit (JDK) 11 or later
  • Apache Tomcat 10.1.8 or later

Installation and Setup

  1. Clone or download the project files.
  2. Open the project in your preferred IDE.
  3. Configure the JDK 11 as the project SDK.
  4. Configure the Apache Tomcat 10.1.8 server in the IDE.
  5. Deploy the project to the Tomcat server.
  6. Open a web browser and navigate to 'http://localhost:8080/DateServlet_war_exploded/date' to see the current date and time.