Skip to content

jainamthakkar/weather-web-app-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Web App

This is a simple web application that allows users to retrieve weather information for a given city using the OpenWeatherMap API.

Features

  • Enter the city name in the input field.
  • Click the "Get Weather" button to fetch weather data for the entered city.
  • Displays city name, temperature, weather description, and additional messages based on temperature.

Technologies Used

  • Java Servlet for the backend.
  • HTML and CSS for the frontend.
  • JavaScript for handling API requests and updating the UI.

How to Use

  1. Open the web application in a browser.
  2. Enter the name of the city for which you want to retrieve weather information.
  3. Click the "Get Weather" button.
  4. The weather data will be displayed below the input field.

Instructions

  1. Set your OpenWeatherMap API key (API_KEY) in the WeatherServlet class.
  2. Start the application using a web server or servlet container (e.g., Apache Tomcat).
  3. Access the application by opening the provided URL in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published