.... 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: Spring 2017 Web Design and Development -CS506 Total Marks: 20 Due Date: July 17, 2017

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 should consist of “Patient Admit Card” containing basic HTML controls for taking information about Patient. The sample is as follows;

One Server side, you need to write Java Servlet named as “PatientServlet” which will dynamically respond to previously developed HTML form. Your servlet should check all HTML controls (i.e. text fields, radio buttons etc.) for non-empty values. In case when user has supplied all inputs, the servlet should display a response message back to user like; Congrats Patient Admitted Successfully! Thanks Mr. Muhammad Imran (where Muhammad Imran is the name of patient)

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

1. Java SE (including JDK 8)

2. Apache Tomcat Web Server 9.0 OR Java Servlet Libraries (servlet-api.jar and jspapi.jar) You are required to submit both HTML form and “PatientServlet.java” files. You can zip both files together and upload on VULMS.

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 for Java Web Application( For any query about the assignment, contact at CS506@vu.edu.pk )

                                                     BEST OF LUCK :)

This Content Originally Published by a member of VU Students.

Views: 13368

See Your Saved Posts Timeline

Attachments:

Replies to This Discussion

sure.

mehr jo aap ne link dia tha javaEE k liay agr us main second wala install kr lain to koi masla to ni hoga q k us main tomcat b hy...woh b next chahiay hoga

rply jaldi krna

Don't know  Vustudent mainy last wala hi kiya bs

plz koi btay k ab netbeans ko open kaisy krna hy..is k baad kiaopen krna hy 

please help me in this assignment

i have tried many times but cannot make it right so please guide me detaile method of it as there is now a short time???

Hello Everybody Here is final solution.
I have attached servlet code html code web.xml code get it and deploy your tomcat.
Hope it will help you.

Best of luck.

Attachments:

ic sary ka thora procedure bata dain please... hmy start karna hi nae aa raha....

aap sb se pehley tomcat install kro procedure handouts mein ha. us k bad tomcat mein webapps mein ak new folder bnao us mein folder is trha se hun gey.

Rectangles mean folder and rectangles inside other shows file.

If you set it this hierarchy then following will be your path.
CATALINA_HOME = C:\Tomcat
classpath = C:\Tomcat\lib\servlet-api.jar;C:\Tomcat\lib\jsp-api.jar;.;
JAVA_HOME= C:\JAVA\JDK8
these all should pe under path variable
path= %path%; %JAVA_HOME%;%classpath%;%CATALINA_HOME%;

Attachments:

ap yahan submit ka html code bta skti hen ?????????? submit query show ho rha he mera

pretty agr to aap ne html mein code kiya ha to . submit button ka code hota ha.

// for submit button
// for reset button

or ye submit ho jata us link pe jo aap ne form mein action k samney diya hota.

RSS

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 :::::::::::

Latest Activity

Today Top Members 

Member of The Month

1. + ansa

rwp, Pakistan

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

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