You are required to design and implement a simple personal profile web application that performs the following:
Collects user information such as name, student ID, program, email, hobbies, and a short self-introduction using an HTML form.
Sends the data to a Servlet for processing using the HTTP POST method.
Displays the submitted details neatly and creatively in a JSP page.
The web page should look presentable and reflect your creativity (use of color, layout, simple CSS, etc.).
Ensure your web application demonstrates interaction between the HTML form, Servlet, and JSP.
You are required to enhance your Assignment 1 Profile Application into a complete Profile Management System with the following features:
Create a database named student_profiles with a table profiles to store user profile details.
Develop a JavaBean class (ProfileBean.java) to represent the profile data with private attributes, public getters, and setters.
Modify your Servlet to handle the form submission from the HTML page.
Create a ProfileBean object using the input data. Insert the profile data into the profiles table using JDBC.
Create JSP pages:
profile.jsp → to display the submitted profile details after saving.
viewProfiles.jsp → to list all profiles retrieved from the database.
Add one unique feature to make your project distinct from others, such as:
Search profile by name or student ID
Edit profile details
Delete profile
Filter profiles by programme or hobby