Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS506 Web Design and Development Assignment No 04 Discussions and Solutions Spring 2014 Due Date Jul 24, 2014

Assignment No. 04(Graded)
SEMESTER Spring 2014
CS506- Web Design and Development


Total Marks: 20


Due Date:24/07/2014



Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit  if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file corrupt.
  • The assignment is full or partially copied from (other student or ditto copy from handouts or internet).
  • Student ID is not mentioned in the assignment File or name of file is other than student ID.
  • The assignment is not submitted as Netbeans project.


Uploading instructions

Your submission must include:


  1. Complete NetBeans working project in Zip format should be uploaded on VULMS.




The objective of this assignment is

  • To give you some practice exercise of web based application (Java Server Pages) using Netbeans.


Important Requirements and Instructions:

  1. You are required to use Netbeans in this assignment.
  2. Assignment due date is Thursday, July 24, 2014.
  3. We will not accept assignment through email in any case. Be Careful 


Lectures Covered: This assignment covers Lecture # 34 to 36


Your assignment must be uploaded/submitted at or before 24/07/2014.



For any query about the assignment, contact at







Student Grade Book (SGB) of XYZ Institute is used to store and display student profile information and scores in different semesters. It provide facility to the student to find all the required information like semesters and courses studied, score in each course and Course Credits etc. at a single point. SGB will provide the functionality like to add student profile information and their score and also view this information.


As in the previous assignment you have developed a web based application for the Student Grade Book (SGB)  using java Servlet. In this assignment we are going to give practice on java web based application using Java Server Pages (JSP) technology.


In this assignment we are going to develop a web based application for the Student Grade Book (SGB) for XYZ Institute using JSP.


Solution Guideline

  1. You have to create “index.html” page contains four links i.e. HomeAdd Student Profile Info,

Add GradeBook Info and View Grade Book.

  1. Then create “addStudentProfileinfo.jsp”, “addGradeBookinfo. jsp” along with controller classes for these two , “viewGradeBook. jsp”error.jsp and success.jsp file.
  2. addStudentProfileinfo. jsp”, “addGradeBookinfo. jsp” and “viewGradeBook. jsp” pages are used to insert Student Record and retrieve data from student grade book respectively. The error.jsp andsuccess.jsp pages are used to show error message or successful insertion message.
  3. After the creation of jsp files you are required to write Java Server Pages (JSP) code for the pages mentioned in the point 2 and 3.
  4. Only use the template database provided with the assignment file. Make sure that there will be no modification in the database table or fields name.
  5. Use only “GradeBookDSN” as a system Data Source Name (DSN).



You can find tutorial about how to create web project in NetBeans at the following link:
















Sample Output:




When user visit the index page:










When user click on Add Student Profile Info link












When user fill the form:















When user click on Submit button:

And the record will be save in “StudentProfile” table, which will be looks like:




When user click on Reset button, then all the data will be cleared (disappears)












And the GUI will looks like:














When user click on Add Grade Book Info link















When user fill the form:














When user click on Submit button:

The record will save in “GradeBook” table and table looks like:




When user click on View Grade Book link

















When user enter student ID





























And Click on “View Record” button:




You can view/ download demo of this assignment on the given link:




Note: Your code must justify enough for 20 marks.

Views: 9447

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

is asimnt may or assimnt 3 may kiya differnce hay

 students apne ideas share kren plz

3rd asignment main htmls aur servlets bnany the aur is assignment main sara kan netbeans pe JSPs ki surat main krna hai


Sample Output:




When user visit the index page:



When user click on Add Student Profile Info link


When user fill the form:



When user click on Submit button:

And the record will be save in “StudentProfile” table, which will be looks like:


When user click on Reset button, then all the data will be cleared (disappears)

And the GUI will looks like:


When user click on Add Grade Book Info link


When user fill the form:


When user click on Submit button:

The record will save in “GradeBook” table and table looks like:


When user click on View Grade Book link



When user enter student ID 

And Click on “View Record” button:

You can view/ download demo of this assignment on the given link: 

zindagi you did a great job. I don't know why I can't do this. I didn't understand it. I need someone who tell me step by step. please help me if you can. I didn't study do any thing related to wed designing so i am in learning process. Zindadagi I think you are expert and have knowledge and doing practically. your web pages are pretty.

Zindagi, mein jb JSP file ko run krti hoon tou http 404 ka msg atta hai. kya xml file mein problem hai?

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="" xmlns:xsi="" xsi:schemaLocation="">





First you will have to create a web page. name addStudentProfileinfo.jsp 

After that add this page all other web page like this 

<div id="menubar">
<ul id="menu">
<!-- put class="selected" in the li tag for the selected page - to highlight which page you're on -->
<li><a href="index.jsp">Home</a></li>
<li class="selected"><a href="StudentProfileinfo.jsp">Add Student Profile Info</a></li>
<li><a href="GradeBookInfo.jsp">Add GradeBook Info</a></li>
<li><a href="viewGradeBook.jsp">view GradeBook</a></li>

After add the link in addStudentProfileinfo.jsp like that 

<form method="post" action="http://localhost:8080/your project name /url ">

like this

<form method="post" action="http://localhost:8080/WebApplication1/addStudentProfileInfo">


© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service