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


+ 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. 04
SEMESTER Spring 2012
CS506- Web Design and Development


Total Marks: 20


Due Date: 27/06/2012


Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file corrupt.
  • The assignment is fully or partially copied (from other student or ditto copy from handouts or internet).
  • Student ID is not mentioned in the assignment File or name of file is other than student ID.
  • The assignment is not submitted .java format.


Uploading instructions

Your Submission must include:


  1. All the Source Code (java and jsp files) and other if necessary files to compile and run your program.
  2. If and only if there are multiple files to submit place all the files in a Zip file and Upload it on VULMS else only source code files and depending files are required to be submitted.
  3. In case of difficulty in attempting this assignment you are welcome to discuss with us. But don’t copy from any other resource.
  4. Use studentDSN name for DSN connection. Otherwise your database will not work on our system. Don’t use full database file path method. Only use DSN method, which you learn in video lectures. You can use connection file provided in assignment 3 solution.
  5. Find attached database file and use it for your assignment database. Don’t change columns name, table name and structure. Otherwise your assignment will not work here on our system. It is compulsory to use given database file.


Note: You are allowed to use any software for assignment development. Your assignment should be executable on NetBeans. We will check all assignments on NetBeans. If you have any instruction about compilation and execution send in your attachment as document file.


We will not accept any assignment sent through email.


The objective of this assignment is


  • To give you some practice exercise of developing web base application with the help of JSP and MS Access database.


For any query about the assignment, contact at cs506@vu.edu.pk



Develop a simple web interface for administrator login. Your admin should be able to login only username: admin and password: admin.


If admin login information is correct jump to “manage all students” page.






 This interface will be used add new student.

When new student infroamtion will saved successfully. Jump back to “manag all students” page and show new inserted record in top row.










Update sutdent record page.

When update will succeed jump back to “manage all students” page and show update record in the list.

On clicking mange project link in Quick Links should open this page.

Follow the same instruction given for student inforamtion to manage projects. Interfaces screen shots are provided in same sequence. After insertion, updatation or deletion admin should jump to “manage all projects page”.



Note: Your code must justify enough for 20 marks.

Lectures Covered: This assignment is covering Lecture # 25-35


Your assignment must be uploaded/submitted at or before 27/06/2012.                          



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


+ 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)


Replies to This Discussion

yar koi mehnat kar raha hy ya sab meri tarha hain

plz send the solution



bt jitna mujh se ho saka...

ab please koi is baar ye na kahay k ye to incomplete solution hai aur isko upload kr k zero marks milain gey :(

mai pehlay se bata rhi hun k direct submit nhi krna, EDITNG b krni hai aur jis se complete b.

jis se b aur complete ho to plz solution share kren..

Thank u...


Khushi Jee..

you have done a gr8 job.

thanks for this gracious effort.

thanks again

koi aisa code bata sakta he k srf admin se hi login ho, me ne jo code likha he wo hr value se login ho jata he.

Can anyone guide me, that after index.jsp when i make controller.jsp that netbean giving an error that "folder name is not valid".

usk liye i think ap 3rd ki solution file dekho bcz us me b yehi condition set krni thi agr java me he krna hai to

3rd assignment is about java files, n the current assignment is about JSP in which we create webapplication

when we create our project, than indes.jsp is auto creation and after a control.jsp file should be create for controlling all pages, so here is error of "net beans that folder name is not valid". so anyone can help me?

         n one thing more to all guys of cs506, that i think there r to many expectation from us, in current assignment about 6 web pages, a lot of table, lays out, html coding, odbc, jdbc and lot more

so i think this is very time consumption. are u agree.

hmm, time consuming to hai :(

i hope agr ziada time mil jata to shayed mai complete assignmnt kr leti ..

aur netbeans me jo project banaya hai, us me WEB k folder me hi sab JSP PAGES rakhain.

extra folders create na kren.

new JSP banatay huay apni FOLDER ki textfiled ko dekhain k wo kai show kr rha hai? koi aisa folder to nhi jo exist hi na krta ho?

is k elawa ap ye b check kro k agr koi folder apna sahi create kia hua hai to us ka name kia hai? simple agr alphabets k sath name hai tot heek, but agr us me koi COMMA ya is tarah k charachters use hain to wo rename kr k hata do... netbeans suport nhi krta commas etc..

yeah, mai ne jo assgnmnt upload ki hai us me ye kaam kr lia tha. ap dekh lo wahan se b..

apni INDEX.JSP file me form me jo username and password ki inputs lo gi, to us form k ACTION me ek aur JSP file ka path dena, liek controller.jsp. aur phir controller.jsp ki body me ye code;


            String name = request.getParameter("username");
            String pwd = request.getParameter("password");
            if (name.equals("admin") && pwd.equals("admin")) {
            } else {


is tarah index se wo INPUT values ko controller me check krey ga k if they r "admin" sir tab wo agay MANAGEALLASTUDENT.JSP per jayey ga , werna INDEX.JSP per hi rhay ga....



Dear brothers and sisters, aur usama bhai plz help kr den\


Today Top Members 

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

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