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

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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 04

Total Marks: 20

 

Semester: Fall 2016

 

 

 

Web Design and Development -CS506

Due Date: February 1, 2017

 

Instructions:

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.

Objectives:

 

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 CS506@vu.edu.pk

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 “StudentServlet.java” files. You can zip both files together and upload on VULMS.

 

BEST OF LUCK

 

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 8473

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

xml code check kro

thiek hoa apka error?

plzz help me servlet kesy use kerty han install ker deya hy ab agy ki samj niii plzz helpp kerynn

mera bi error arha ha is mn ??? need help

I need Also Help for this assignment 

ap apne web.xml me web-app k tag k andr ye code add kro 

<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>

How to get VU assignments solution help and files easily
Click on link: https://www.youtube.com/watch?v=DCiDkVBLE1Q

Please send detailed this 4th assignment 

hi plzz i dont understand this assignment .. help mee plzzzzzzzzzzzz

(REGISTRATION FORM) - SOURCE CODE







<title> CS-506 Assignment # 4 </title>
<center>
<h1><i><u> MADE BY KHUBAIB BUTT </h1></i></u>
</center>

<body>
<center>
<h2><u>Student Registration Form</u></h2>
<div style="...">
<form method="post" action="StudentRegistration">

<table>

<tr>

<td class="name">FIRST NAME:</td>
<td class="inputFields"><input type="text" name="fName"></td>

</tr>



<tr>

<td class="names">LAST NAME:</td>
<td><input type="text" name="LName"></td>

</tr>

<tr>

<td class="names"> DATE OF BIRTH: </td>

<td>

<select name="DOBMonth">

<option value=""> - Month - </otpion>
<option value="January">January</option>
<option value="Ferbuary">Ferbuary</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="November">November</option>
<option value="December">December</option>
</select>

<select name="DOBDay">
<option value=""> - Day - </option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>


<select name="DOBYear"
<option value""> - Year - </option>
<option value="1993">1993</option>
<option value="1992">1992</option>
<option value="1991">1991</option>
<option value="1990">1990</option>
<option value="1989">1989</option>
<option value="1988">1988</option>
<option value="1987">1987</option>
<option value="1986">1986</option>
<option value="1985">1985</option>
<option value="1984">1984</option>
<option value="1983">1983</option>
<option value="1982">1982</option>
<option value="1981">1981</option>
<option value="1980">1980</option>
<option value="1979">1979</option>
<option value="1978">1978</option>
<option value="1977">1977</option>
<option value="1976">1976</option>
<option value="1975">1975</option>
<option value="1974">1974</option>
<option value="1973">1973</option>
<option value="1972">1972</option>
<option value="1971">1971</option>
<option value="1970">1970</option>
<option value="1969">1969</option>
<option value="1968">1968</option>
<option value="1967">1967</option>
<option value="1966">1966</option>
<option value="1965">1965</option>
<option value="1964">1964</option>
<option value="1963">1963</option>
<option value="1962">1962</option>
<option value="1961">1961</option>
<option value="1960">1960</option>
<option value="1959">1959</option>
<option value="1958">1958</option>
<option value="1957">1957</option>
<option value="1956">1956</option>
<option value="1955">1955</option>
<option value="1954">1954</option>
<option value="1953">1953</option>
<option value="1952">1952</option>
<option value="1951">1951</option>
<option value="1950">1950</option>
<option value="1949">1949</option>
<option value="1948">1948</option>
<option value="1947">1947</option>
</select>
</td>

</tr>


<tr>

<td class="names"> EMAIL ID: </td>
<td><input type="text" name="stdEmail"></td>


<tr>

<td class="names"> GENDER : </td>
<td>Male:<input type="radio" name="stdGender" value="male" checked>
Female: <input type="radio" name="stdGender" value="female"></td>

</tr>


<tr>

<td class="names">CITY : </td>
<td><input type="text" name="stdCity"></td>
</tr>

<tr>

<td class="names">COUNTRY : </td>
<td><input type="text" name="stdCountry"></td>
</tr>


<tr>


<td class="names"> COURSES<br>APPLIED FOR </td>
<td> BS-IT<input type="radio" value="BS-IT" name="course">
     BSCS<input type="radio" value="BSCS" name="course">
     MIT<input type="radio" value="MIT" name="course"checked>
     MCS<input type="radio" value="MCS" name="course">

     </td>

     </tr>


     <tr>

     <td> </td>

     <td>  

     <input type="submit" value="submit" name="submit">
     <input type="reset" value="reset" name="reset">

     </td>

     </tr>

     </table>

     </form>

    </div>

    </center>

    </body>

    </html>

STUDENT REGISTRATION FORM  

Attachments:

error arha marye pas run nhi ho rha

RSS

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

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

.