Skip to content

This project is a simple web application that calculates the sum and average of three numbers entered by the user. It is built using Java Servlets, HTML, and CSS, and is deployed on an Apache Tomcat server.

Notifications You must be signed in to change notification settings

Monu-Yaduwanshi/Java-Servlet-Average-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Java Servlet Average Calculator

This project is a simple web application that calculates the sum and average of three numbers entered by the user. It is built using Java Servlets, HTML, and CSS, and is deployed on an Apache Tomcat server.

Features

  • User Input: Users can enter three numbers to calculate their sum and average.
  • Dynamic Output: The application displays the sum and average of the entered numbers.
  • Clean User Interface: A simple HTML layout with CSS styling enhances the user experience.

Technologies Used

  • Java Servlet API: For server-side processing and handling user input.
  • HTML/CSS: For frontend design and styling.
  • Apache Tomcat: The web server used to deploy the application.

Setup Instructions

Clone the Repository

git clone Deploy on Apache Tomcat Import the project into your Eclipse IDE:

Launch Eclipse and navigate to File > Import > Existing Projects into Workspace. Select the project directory you cloned. Configure the Tomcat server in Eclipse:

Right-click on the project, select Properties, and then Targeted Runtimes. Check the box for the Apache Tomcat server and apply the changes. Run the application on the Tomcat server:

Right-click on the project, go to Run As, and select Run on Server. Choose the Apache Tomcat server and click Finish. Access the Application Open your web browser and navigate to: http://localhost:8080/your-context-path You will see the average calculator form where you can enter your numbers. Author Monu Yaduwanshi

Notes This application currently does not include database functionality, but it can be extended to store input values or results in a MySQL database if desired. License This project is licensed under the MIT License - see the LICENSE file for details.

Additional Resources #Java Servlets Documentation #Apache Tomcat Documentation

Key Features of this README.md:

  • Clear sections for features, technologies, setup instructions, and author information.
  • Encourages future development with notes on potential database integration.
  • Includes additional resources for users who may want to explore more about Java Servlets and Apache Tomcat.

Feel free to adjust any paths or details specific to your implementation before adding this to your GitHub repository! Let me know if you need any more modifications or sections!

Feel free to replace <repository-url> with the actual URL of your repository. Let me know if you need further assistance!

About

This project is a simple web application that calculates the sum and average of three numbers entered by the user. It is built using Java Servlets, HTML, and CSS, and is deployed on an Apache Tomcat server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published