Question

Write a program using JSP and JDBC to support editing (address modification, mobile number/ email id update) of MCA 1st Semester students of IGNOU. The program should take enrollment number or registered mobile number as input. Make necessary assumptions required.

25 Jul 2024
Answer :
Word Count : 1100

To create a program using JSP (JavaServer Pages) and JDBC (Java Database Connectivity) for editing the details (address modification, mobile number/email ID update) of MCA 1st Semester students of IGNOU, we need to set up a web application that allows students to update their information based on their enrollment number or registered mobile number. Below are the steps and the necessary code snippets to achieve this.

### Assumptions
1. A MySQL database named `ignou` with a table `students` exists.
2. The `students` table has the following structure:
   ```sql
   CREATE TABLE students (
       id INT AUTO_INCREMENT PRIMARY KEY,
       enrollment_number VARCHAR(20) UNIQUE,
       name VARCHAR(100),
       address VARCHAR(255),
       mobile_number VARCHAR(15),
       email_id VARCHAR(100)
   );
   ```
3. The database is hosted on `localhost` with the username `root` and password `password`.

### Steps to Create the Program

1. Database Connection Setup
   Create a utility class `DBConnection.java` to handle database connections.
   
__________ ___ _________ __________ __________ _____.
____ ________ _____ ________ ________ _____ __________ _________ ________ __________ ___ _______.
_______ ___ ______ _______ __________ ____ _________ ______.
___ ________ ____ _____ _________ ____.
_________ _________ _______ ______ _______ ___ __________.
______ ______ _______ _________ _____.
______ ______ ______ ___ __________.
_______ _________ ______ _______ ____ __________ _____ _____ _________.
______ _________ ________ ____ _______ ________ __________ __________ ___.
__________ _________ _______ _________ ______ _________ _______ _____.
_________ _____ _________ _________ _____ _______ __________ ___ _______ ______.
____ ______ ________ _______ ________ ______ _______ __________ ________ ______ ________ __________.
_______ ______ _________ _________ _____ ________ ____ ______ ______ _________ _________.
_____ __________ ______ __________ ________ _____ _____ ______ ________ _____.
________ _____ _____ ________ ___ ____ ___ ____.
_______ _________ ________ ______ __________ _____ _____.
_____ __________ _____ ___ _____ _______.
____ ________ ____ ___ _____ ____ ____.
______ _________ _____ _________ _____ ____ ______ ________.
____ ________ ________ _________ _______ ___ ___ __________ _________ ___ ________ ___.
____ ____ __________ _____ _________ ____ _______ _____ ________ ______ _______.
_______ __________ ________ ___ _______ ________ ______ _________.
____ _________ ____ __________ ________ ______ ____ ____ ____.
__________ _________ _____ ____ ____ _________.
______ ___ ________ ____ ____ ________ _____ ______.
______ ____ _________ _____ ______ _________ _________ _______ _____.
________ ____ ______ ________ ______ _______ __________ __________.
___ ___ _________ _____ ________ ______.
_____ ______ _______ ________ ____ ____ ______ _________ _______ _____.
______ _______ __________ ___ _______ ________ _______.
_____ _________ ____ _____ __________ ______ __________ ________ __________.
___ ______ ___ ____ ______ _______ ________ ________ _____ _____.
____ _____ __________ ________ _______ _____ ________ __________ ________.
_____ ______ ________ _________ _________ ______ ________ _______ __________.
_______ _________ _______ _______ ________ _____ _______ _____.
_________ __________ ____ ___ _______ _________ _______ ______.
________ ___ ________ ____ __________ ____ _____ _______ _________.
_________ _________ _____ ______ ___ __________ _______ ____ __________ ______ _____ _________.
________ ____ ___ _______ _______ __________ _________ __________ ___ _______ ____.
_________ ________ ______ ____ ___ ________ _____ _____.
______ ________ ____ ________ ___ ____ _____.
__________ __________ ________ _______ ________ ____ _____.
________ _______ _______ _________ _____ _________ ___ _______ _________ _____ ____.
_____ ___ __________ _________ ___ _______.
__________ _______ _______ ____ ________ _______ _________ __________ _______.
__________ ___ ___ __________ ______.
_______ _____ _______ __________ ______ ________ ________ __________ ___.
__________ _____ ___ _____ ____ _______.
____ ____ __________ _____ ________ ________ ______ _______ ____.
_________ _____ ___ _______ _______ _____ __________ ____.
_____ _______ __________ ___ _______ ___.
____ __________ ___ ______ ________.
______ ___ ______ ________ _______ _________ _____ _________ _________ ________ _________.
____ ____ ______ _______ __________.
________ ____ __________ _______ __________ ____ ________ ________ _________ ______ ____ ____.
___ ________ _________ ___ _________ ______ ___ __________.
_________ ______ _________ _________ _________ _______ ______ ____ ________.
_____ ______ _____ ___ ______ ____.
___ ____ _______ _________ __________ _______ _________ __________ _______ _____ _______.
_________ __________ _______ ___ ______ ______ ___.
____ ____ _______ _________ _______ _______.
___ ____ ______ _______ ______ ____ ___ ________ _____ _________ _________.
_______ _______ ___ _____ _____ ____ ___ ____ ________.
_________ _______ ______ _________ _____ _____ ________ ________ ______ __________ _____.
______ __________ ______ _______ __________ ____ ____ ____.
_____ ____ ____ _______ _______ __________ _____ ____ _________ _______ ___.
_________ ______ ___ ________ ___ _____ _______ ________ ______ _______.
______ ___ _______ _________ _____ _______.
________ _____ ________ _________ ___ _________ _________ _________ __________ _____.
________ _________ ______ ______ _____ _________ _____ ____ _____ _________ _______.
____ ___ ____ __________ ____ ____.
_______ _______ ________ ________ ______ ________ _____ _______ ________ _____ ______ _________.
____ __________ _______ _____ ______.
_______ ______ ___ ____ _______.
_________ _______ _________ __________ ____ _________ ___ _________ ______ __________.
__________ ___ _____ ___ _________ ___.
_______ ___ ____ ________ ________ ___ ______ __________ _________ ______ _____.
________ ________ __________ _____ __________ __________.
________ _____ _____ ________ _______ ________ ________.
__________ _____ __________ ______ _____ ____ ________ ___ __________ _______ _________.
________ _______ ___ ________ ______ ________.
_______ _______ __________ _____ _________ __________.
__________ ____ ___ ______ __________ __________ _________ ___ _____ _____.
____ ___ ________ _______ ________ _______ ___ _________ __________ __________ ______ __________.
_____ __________ __________ ______ __________ ______ _____ _______ __________ ____ ___.
___ _______ __________ ____ ___ ____ ______ _________.
________ ___ ____ _________ _____ ___ _________ _______ ________ __________ _______ ________.
__________ _______ ___ ______ ____ ________ __________ _______ ___.
_________ ____ _______ ____ ______ _____ ______ ______ ____ ______ ________.
____ _________ ________ __________ ________ ______ ___ ___ __________ ____.
________ _________ _____ ___ ________ ____ ______ ___ ____ ________ _______ ____.
_____ ____ _________ ________ ___ ____ ____.
______ _______ ___ _________ ________ __________ ______ ____ _____ _____ ________ _______.
__________ _______ _____ ____ ______ _______ ______.
________ ________ ________ _____ _________ ___ ______ ____ ________.
_______ ________ ____ ___ _____.
____ __________ _________ ___ ___ ___ _________ __________ _______.
____ ___ ______ ____ ______ __________ ________ ____ ____ __________.
______ ____ _____ _________ ______ _________.
__________ _____ _________ ____ ____ ___ __________ _________ _________ ___ _____.
__________ ______ ____ ________ ______ _______ ________ ________.
_______ _______ _______ _______ __________ ____ __________ _______ ______ _______.
_______ __________ _______ _____ ________ ____ _____ __________ _________ ___ ____ __________.
________ _______ ________ _____ ____ ____ __________ ________.
___ ___ _____ ___ __________ ________ _________ ___ ______.
_____ __________ __________ ___ _____ _______ _____ _________ ________ __________ _________.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write a program using JSP and JDBC to support editing (address modific
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→