Question

Create four pages for the website viz. Home, Attendance, Results and Feedback; all the four pages should have same Top, Menu, and Develop division but different Content division. The Menu Division should provide links to the Home page as well as all the other three pages. All these four menu options should be available in all the web pages designed by you for this assignment. Thus, this

Menu division may be used for navigating among the four web pages. The Content division of every page should be different. The information that should be displayed in Content Division of each of the pages is described below:

(i) The Home page should display a Welcome Message from the School and list the strengths of the School.

(ii) The Attendance page should display a form for logging into the Database of the School as shown.

(iii)The Results page should display the Results of a student to his/her parents.

(iv) The Feedback page should display a form asking for student name, class, a text area field for writing feedback information and a Submit Button.

(b) Create an external CSS that gives different background colour to each division. You may choose the format of other elements as per your choice.

(c) Create a JavaScript program that generates an error message if Username field is left blank in the form of Attendance page; or if the length of entered password in the password field is less than 6 characters. In case of an error, after displaying the error message, the login form should be displayed again.

(d) Implement the following using jsp program, servlets, java classes, database(s), etc. for the pages as described below:

(i) When a user presses Submit button after properly filling Username and password in the form in the Attendance page, these details are checked in a database, and in case, the entered username and password are correct, the Student Name, Class, days present and days absent are displayed on the screen. You may also create a cookie, if needed, to remember the username and password.

(ii) On selection of Results option, the result of student, whose parents have successfully logged in, is displayed. You may have to use cookies for this purpose.

(iii) When you press the Submit button of the Feedback Form, the information entered in the form should be stored in a database table.

(iv) You must design, create and use a suitable database for the purposes as above.

You may make suitable assumptions, if needed.

21 Jan 2021
Answer :
Word Count : 1649

To build a website with the specified requirements, we need to break down the task into smaller components: HTML structure, CSS styling, JavaScript validation, and JavaServer Pages (JSP) with backend servlets and database connectivity. Below is a step-by-step guide to how we would approach this task.

### 1. HTML Structure for Each Page:

The HTML structure will be consistent across the four pages, with each page having a top, menu, and development (content) division. Below is an example of how the structure might look for each page.

Common Structure (HTML Skeleton):
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>School Website</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="top">
        <h1>Welcome to Our School</h1>
    </div>

    <div id="menu">
        <ul>
            <li><a href="home.html">Home</a></li>
            <li><a href="attendance.html">Attendance</a></li>
            <li><a href="results.html">Results</a></li>
            <li><a href="feedback.html">Feedback</a></li>
        </ul>
    </div>

    <div id="content">
        <!-- Content for each page will go here -->
    </div>

    <div id="footer">
        <p>&copy; 2024 School Name</p>
    </div>
</body>
</html>
```

### 2. Page-Specific Content:

#### Home Page:
The Home page will have a welcome message and a list of strengths of the school.
```html
<div id="content">
    <h2>Welcome to Our School!</h2>
    <p>We are pleased to have you visit our website. Here are some of the strengths of our school:</p>
    <ul>
        <li>Highly qualified teaching staff</li>
        <li>State-of-the-art infrastructure</li>
        __________ _____ _______ __________ ___ ______ __________ __________ _____ _____ _________ ______.
__________ _________ _______ _______ _______ _________ ________ ____ ______ ________.
_________ ________ ____ ____ _________.
_________ ______ ____ __________ _____ __________ ___.
___ ________ _______ ___ ________ __________ __________.
_________ ________ ___ _____ __________ ________.
________ ________ ___ ___ ________.
______ ______ ________ _______ __________ __________ ___ _________.
__________ _______ ___ ____ ________ ____ ______ _________ ______ ____ __________ _______.
_____ ______ ______ ________ ______ _______ ______ ______ ____ ___ _________ _____.
_______ __________ ________ ____ _________ _______ __________ ____ ________.
____ _____ _________ ______ __________ ______.
________ ______ ______ __________ ______ _____ _____ _____ ___.
_________ ________ ____ ______ ____ __________ ______ ___ __________ _________ ______ _________.
____ _______ ____ __________ ________ ___ ______ ______.
________ ____ ______ __________ ___ ___ ______.
_______ ____ __________ _____ ___ __________.
_________ ____ ___ _____ _________ _________ ____ _______ __________.
______ _________ ______ ____ ___ _________ _____ ________ _________.
______ _________ ___ ______ ___ _________ _____ ______ __________ __________ _______ __________.
___ ___ ________ __________ ______ ___.
______ ___ _________ _________ _________ ________ ________ ______ ________ ___.
___ ___ _____ ______ _________ ________ _____ ________ ____.
_____ ___ _____ _______ _______ ________.
_________ ______ ____ __________ ________ ________ _____ __________ ___ ___ _____ ___.
_______ _________ _____ __________ ______ ________ ____ ___ __________ ___ ___.
_____ ______ ________ ________ _________ ________ ________ ____.
________ ________ _________ __________ _________ ________ ______ _____ _____ _______.
_____ _____ __________ _______ _______ ___ ___ _____ ________.
________ ________ _____ ___ ____ __________ ________.
_________ _____ _________ ________ ________ ___ _____ ____ ________ ___ __________.
____ ___ ____ ______ _____ _____ ____ ___ _______.
____ ____ ___ _______ __________ ______ ________.
___ _____ _________ _______ __________ __________ _____ _______ ______.
_________ _____ _______ __________ _____ _____ _______.
_____ _________ ________ _____ ________ ___ ___ ___.
_________ _______ _________ ___ _________ ______ ______ ____.
_______ ___ _______ _________ _______ __________ _______ ___.
_________ ____ __________ ______ __________.
_____ _____ _____ __________ _______ __________ _____ ____.
_________ _____ ___ _____ ____ ____ _______ ________ _____ ______ ________ _________.
______ ___ ______ _______ ________ __________ _____ ____ _____ ___ ___ ____.
_______ _____ _____ __________ _____ __________ ___.
__________ _________ ___ _________ _________.
_______ _____ __________ _____ _________ _________ ____ _____.
______ ___ ________ __________ _____ ______ ______ ____.
__________ ____ __________ ___ _______ _______ ______ _______ _________.
_________ ________ ____ _____ ______ _______ ________.
__________ _________ ____ __________ _______ ___ _____ ____ _______.
_____ _______ __________ _______ ____ ____ _________ ________ _____ _____ ___ __________.
___ _________ ___ _________ _____.
_____ __________ ____ __________ _________ ________ ____.
_____ ______ ___ __________ _________ ____ ____ _______ _____ __________ ___.
_________ ____ _________ __________ __________ __________ _________.
__________ __________ ____ ___ ___ _________ ______ _______ _________ ________ __________.
__________ __________ ________ ___ ______ __________ ____ _____.
_______ ________ _______ ______ ___ _________ __________ _______ _____ _________.
______ _______ ______ ________ ______ _________ ____ ____.
____ ______ _________ ____ ________ ________ ________ _____ _____ ______.
____ ____ _______ ________ _________ ________ _______ __________ _______ _____.
__________ ________ ________ _________ __________ ______ _____ _________ __________.
___ _________ _____ ______ ____.
_______ ________ ____ ____ ____ _________ _____ ____ _________ ____ ___ ____.
_________ ______ ____ _____ __________ _____ _____ __________ _______ ________ _____.
__________ _____ __________ ______ _______ ________ __________.
______ _____ _________ _________ ____ ___ _________ _______ _______ __________.
_______ _______ __________ ___ ______ ___.
__________ _____ _______ ________ __________ _________ _______ _______ ______ _____ ________.
____ __________ ______ ______ _____ ________ ______ __________ __________.
____ ________ _______ __________ __________ _________ ______ ___ ________ ____ _______.
___ ______ ________ ___ ________ ____.
_________ _______ __________ ______ _________ _____ ____ _____ ______ ___.
_______ ______ _______ _____ ________ ______ ___ _________ ___.
____ ___ ______ _____ _____ _________ ______ ____ _______ _______.
__________ _____ ____ _________ __________ __________ _____ _______ _____ _________.
_________ _________ _____ ____ __________ __________ __________ ________ ___ _____ ___.
_________ _________ __________ __________ _________ _________ _______ _____ ______ _________ __________ _____.
____ ________ _________ __________ _________ __________ ______ ___ _______ _______.
_______ _____ _____ __________ ______ _________ _____ ____ _____ ________ ______ _______.
_____ __________ ____ ________ ____ ______ ____ ___ ________.
_______ ____ _________ ______ __________ _____ _________ ______ ____ _________ _________ ________.
_________ _______ __________ __________ ________ __________ _________ _______ _________ _________ __________ ______.
____ ____ __________ ______ __________ _________.
_______ ______ ________ __________ _________ ________ ___ ________.
____ ___ __________ _______ _________ _____ ______.
_________ __________ _________ _________ ________ _______ _______ __________ _______.
_____ ____ ____ _________ ______ _____ ______ ___ _____ ______.
_______ ___ __________ _____ ______ _____ _______.
_______ ______ _________ ______ __________ _____ ___.
_______ ____ ____ _________ ___ _____ ________ _______ ___ ________ ________ _____.
_______ _______ _________ ______ ___ _________ ___ ____ ______.
______ _____ _____ __________ _________ __________ _____ ________ _____.
__________ _______ _______ ______ __________ ______ _____ ___ _____ __________ ____.
______ _______ ________ _________ _________ ____.
________ ____ _________ ______ _______ __________ ________ _________.
_______ __________ ___ ____ ____ ____ ______ ____.
_________ ____ ___ _______ ______ ____ _________ ________ _________ ___ ___.
____ ______ ____ _______ __________ ______ _____ _______ _________ __________.
_________ ____ ______ _________ ___ ___.
_______ ______ ________ _________ __________ ________ ____.
__________ __________ _____ _____ ______ __________ ________ ______ __________.
______ _________ _____ __________ ________ _________ _______ ________ __________ _________.
_________ _______ _______ ____ __________ ____ ___ _____.
_________ ________ _____ ____ ______ _____ ________ _________ ________.
__________ _________ __________ ___ __________ ________ _____ _________.
_________ ________ __________ ____ __________.
_________ __________ __________ __________ _________ _________ __________ _____ _______ _____.
_______ ________ _______ __________ ____ ______ _________ __________ _______ _________ _________ ____.
________ _________ ________ _____ ____ ____ ______ _____ ________ ________ ______.
________ _____ ______ __________ ________ _____ ______ ________ ______.
_________ __________ ______ ___ _________ _____ _______ _______ ___ _______ _________.
______ _____ _____ _______ ____ _________ __________ _________ _______ _________.
_______ ________ ____ ________ ___ ___ ___ ________.
_________ ________ _____ ____ ___ ___ _______ ___ __________ _________ _________.
______ ___ _______ ______ _______ ______ _______ _________ _____ _________.
_______ ________ ___ ________ ___ _______.
_________ _____ _______ ____ ____.
__________ ___ __________ __________ __________ ____.
____ _____ _________ ______ _______ ____ __________ _____ _________.
______ _____ __________ _________ _____.
_____ ______ ________ __________ _______ ________ ____ ________ ____.
________ _________ _____ _______ __________ __________ ____ ______ ____ __________ ____ ___.
_____ _________ _______ ______ ___ ___ ___ _____.
__________ __________ ____ ___ ____ ______ __________ __________.
____ _______ ___ _____ ________ ________ _______ ______ _______ ___.
______ ___ ______ ___ _______ _____ _______ ________ ________.
__________ __________ ____ ________ ________.
_______ ______ __________ ____ _____ ______ ________ ______ ________ _______.
_________ _______ ______ __________ ____ ______ _____ ____ _________ _______ __________ ______.
______ _______ _________ _______ ______ ____ _________ ___ _______.
________ _______ ______ ___ ______.
__________ ___ ________ _____ ______ _________ ___.
_________ ____ _______ _______ __________ ____ ______ ______ __________ _____ _____.
___ ___ __________ ________ _____ _______ ____ _____ _____ _____ ___.
____ _________ ____ ______ ___ ________ _____ ______ ______.
__________ __________ ____ ______ _____ _________ ________ _____ ________ __________ _______ _____.
________ ___ _____ ______ __________ _____.
______ __________ ___ ___ _________ ______ _______ _____ ___.
____ ________ _____ _________ _____ ____ ___ ____ __________ ___ ________.
___ ______ ________ ______ _________ __________ ____ __________ __________.
___ ___ __________ __________ _____.
__________ ___ ____ ___ ____ _____ ______ ________.
_____ _____ ________ ______ ___ ________ _____ ___ ____.
_____ ________ _____ _________ _____ ______ ___ _________ ___ _______ _____.
_____ _________ ________ ________ ____ ___ _______ ________ _________ ____ __________.
____ ______ ______ __________ _______ __________ _________ ___.
________ ________ ______ ____ ________ ________ _______ ___.
____ _______ ______ ________ ___.
_____ ____ _______ ___ ___ ____ ____.
___ ______ ________ _________ ___ ____ _____.
____ _____ _________ __________ _______ ___ _______.
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 Create four pages for the website viz. Home, Attendance, Results and F
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→