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.

Assignment No. 04

Total Marks: 20


Semester: Fall 2016




Web Design and Development -CS506

Due Date: February 1, 2017



Please read the following instructions carefully before submitting assignment:


  • You should submit your assignment before or on due date on VULMS.


  • Your assignment should be your own work in your own words. It should not be copied from internet, handouts or books.
  • Assignment sent via Email will not be replied and accepted in any case.


  • If the submitted assignment does not open or file is corrupt, it will not be marked and awarded Zero marks.



To build knowledge about how to develop basic dynamic web application in Java EE To write first Servlet in Java and communicate with Client using HTTP


Install, configure and use Apache Tomcat Server in Java Web Application


For any query about the assignment, contact at

Question:                                                                                                                                   Marks 20

You are required to develop an HTML page using Microsoft Notepad that will work as a client to interact with Java Servlet. The HTML page will be a Student Registration From containing basic HTML controls. The sample is as follows;



























One Server side, you need to write Java Servlet named as “StudentServlet” which will dynamically respond to previously developed HTML form.


Your servlet should check all HTML controls (i.e. text fields, radio buttons, drop down lists etc.) for non-empty values and display a response message to user like;

Congrats Registration Successful !

Thanks Mr. Ali Ahmad


(where Ali is the name of user)


Note: You need to install, configure, environment setup and test following softwares in your machine;


  1. Java SE
  2. Java Servlet Libraries (servlet-api.jar and jsp-api.jar) OR Apache Tomcat Web Server


You are also required to submit both HTML form and “” files. You can zip both files together and upload on VULMS.




Views: 8643


Replies to This Discussion

Thank you OMI.

HTTP Status 404 - /MC160202536/StudentRegistration

type Status report

message /MC160202536/StudentRegistration

description The requested resource is not available.

Apache Tomcat/8.5.11

How can resolve this suue

Chill every buddy.

Complete Solution. 

Mojen kro sabbbb.....


mery pas file open ni ho rhe

Winzip install kren. ye .rar file he.

no need thnx

jo bhi solution share kr rhy hain servlet ki coding bhe share kren then he ye error khtm hoga jo sab k a rhy hain.

Cachu :P :) esko direct open ni kro tomcat se run kro esko. ye server p execute hoga. 

or mene servlet ka code b dia he complete he sari.

mane netbeans kia hua hai us se ye kasy open hoga netbeans me tomcat install hai.

I am not a java player NOR CS506 student. Google it How to import servlet application in netbean.


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

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