This is a simple web application that allows users to retrieve weather information for a given city using the OpenWeatherMap API.
- 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.
- Java Servlet for the backend.
- HTML and CSS for the frontend.
- JavaScript for handling API requests and updating the UI.
- Open the web application in a browser.
- Enter the name of the city for which you want to retrieve weather information.
- Click the "Get Weather" button.
- The weather data will be displayed below the input field.
- Set your OpenWeatherMap API key (
API_KEY
) in theWeatherServlet
class. - Start the application using a web server or servlet container (e.g., Apache Tomcat).
- Access the application by opening the provided URL in your browser.