We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ 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. 02
Semester: Fall 2018
CS506 – Web Design and Development
Total Marks: 20
Due Date: 31/01/2019
Learning Objective:
You should be familiar with following topics to solve this assignment:
• Dynamic Page Creation.
• Servlets
• HttpServletRequest, HttpServletResponse and Web.xml
• Database Connectivity
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).
Assignment
Question: (20 Marks)
You are required to create a Servlet based web application to display study schemes of various study programs by keeping the following requirements in your mind.
Develop an html page (index.html) which will contain a form having two text fields and a drop down menu as given below.
index.html
Now, create a new database in MS Access and add a table in the database as shown below.
StudyScheme Table in MS Access
The name of database should be same as your own VU ID (like BC0000000) and the name of table should be StudyScheme. Now, populate this table by adding study schemes’ data of at least two study programs i.e. BS(Computer Science) and BS(Information Technology) as shown in above image. You may take this data from the following links.
http://www.vu.edu.pk/AcademicPrograms/StudyScheme.aspx?sp=Computer_...
http://www.vu.edu.pk/AcademicPrograms/StudyScheme.aspx?sp=Informati...
Now, write a Servlet (StudySchemeServlet.java) that will receive the information submitted from client side (index.html), fetch the study scheme of selected program from database and display it at client side along with Name and ID of the student as shown below.
Output Generated by StudySchemeServlet.java
Important Regarding Development:
If you are using JDK1.8 or above then you’ll have to use ucanaccess driver to connect to MS Access database. In this case, I'll suggest you to view the following tutorial.
https://vulms.vu.edu.pk/Courses/CS506/Downloads/UCanAccess.mp4
Following links will be helpful in creating new database in MS Access.
https://support.office.com/en-us/article/Create-a-new-database-32a1...
http://www.dummies.com/software/microsoft-office/access/how-to-buil...
https://www.wikihow.com/Make-a-Database-Using-MS-Access
Important Regarding Submission:
After completing your code, compile your code and deploy this application using web application server. Now, run your application on web browser and take the screenshots of both input (index.html) and output generated by Servlet. Now, you are required to submit following files in compressed (.zip or .rar) format on VULMS.
1. index.html
2. web.xml
3. StudySchemeServlet.java
4 Database file
5. input.jpg
6. 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 31st January 2019.
Tags:
+ 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?.
+ 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)netbeans pe banani chahie ya notepad pe? ap log kis pe banaein ge?
great
pls send solution ?
Then share IDEA please
yar help karo
ya kiya bat hoe humari to help karo
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post