.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....  

We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

Looking For Something at vustudents.ning.com?Search Here


Assignment No. 03
Semester: Fall 2017

CS506 – Web Design and Development



Total Marks: 20


Due Date: 22/01/2018


Uploading instructions:


  • Your assignment should be in .zip /.rar format.
  • Save your assignment with your ID (e.g. bc000000000.rar).
  • No assignment will be accepted through email.


Rules for Marking:


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, execute or file is corrupted.

·         Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).





Question:     (20 Marks)


You are required to develop a simple web based application by considering the following points in your mind.


Develop an html page (index.html) which will contain a form as given below.



Now, write a java program (servlet) (BC00000000Servlet.java) that will receive the information submitted from client side (index.html), verify the input values (whether entered values are in correct format or not) and print back the entered values at client side in following format.

ID: BC00000000

Name: Ali

Address: Model Town, Lahore

Gender: Male

Email: bc0000000@vu.edu.pk            

Study Program: BSCS


Now, deploy your web application using tomcat server, load index.html in web browser and enter all the required information. Before clicking the submit button take the screenshot of web browser as given below (and save as input.jpg):



Now, click “Submit Student Data” button and take the screenshot of resultant web page (and save as result.jpg) displayed by the servlet (BC00000000Servlet.java) in response to client’s request.


Important regarding submission:


You are required to submit following files in compressed (.zip or .rar) format.

1. Index.html

2. Web.xml

3. BC00000000Servlet.java

4. input.jpg

5. result.jpg


NOTE:  Do not put any query on MDB about this assignment, if you have any query then email at cs506@vu.edu.pk. If any student found cheating from any other student or from online forums then he/she will be awarded ZERO right away and strict disciplinary action will be taken against the student.  Furthermore, if any student submitted code in word file (.doc/.docx or any other text format) then he/she will not get any credit of the assignment. And, write your own VU ID wherever BC00000000 is mentioned in assignment file.





Deadline: Your assignment must be uploaded/submitted on or before 22nd January 2018.



Share This With Friends......

How to Find Your Subject Study Group & Join.

Find Your Subject Study Group & Join.

+ Click Here To Join also Our facebook study Group.

This Content Originally Published by a member of VU Students.

+ Prohibited Content On Site + Report a violation + Report an Issue

+ Safety Guidelines for New + Site FAQ & Rules + Safety Matters

+ Important for All Members Take a Look + Online Safety

Views: 6284

See Your Saved Posts Timeline


Replies to This Discussion

anyone have solution?

see how to intall tomcat server in windows step by step procedure with pathset given in the description.

Thank you Brother Kindly share next video 

Complete Solution with Explanation

please share netbeans link you are using

I have completed this assignment according to this video successfully but could not find these files to submit.

2. Web.xml

3. BC00000000Servlet.java

Plz tell me the location of these files. 

"your Project>> src >> java" yahan apko servlet file mile gi...

"web>> WEB-INF" yahan apko xml file... 


I save this file with the name "MyServlet" can I rename this file with my ID...koi error to nhi aaye ga?????

nope koi error ni aega ...

Please check coding where is was wrong.

Check this code and write as it is.


Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Study

Other Universities/Colleges/Schools Help

    ::::::::::: More Categorizes :::::::::::

Member of The Month

1. + ATHER

Gujranwala, Pakistan

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

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