Slip 1
Q1. Write a java program to display IP Address and Name of client machine. [15]
Q2. Write a JSP script to accept username, store it into the session, compare it with password in another jsp file, if username matches with password then display appropriate message in html file. [25]Q2. Write a SERVLET program which counts how many times a user has visited a web page. If user is visiting the page for the first time, display a welcome message. If the user is revisiting the page, display the number of times visited. (Use Cookie) [25]
Slip 3
Q1. Write a JDBC program to displays
the details of employees (eno, ename, department, sal) whose department is
“Computer Science”. [15]
Guideline:
Q2. Allow the students to use
either Applet or AWT for writing an application.
Slip 4
Q2. Write a JSP program to create an online shopping mall. User must be allowed to do purchase from two pages. Each page should have a page total. The third page should display a bill, which consists of a page total of whatever the purchase has been done and print the total. (Use Session)
[25]
No comments:
Post a Comment