0% found this document useful (0 votes)
41 views2 pages

WT QP

The document contains questions for an exam on Web Technology. It includes questions on Java, JSP, Hibernate, RMI, TCP, XML, XSLT, AJAX, cookies, sessions, JDBC, MVC architecture and Struts framework.

Uploaded by

60 Vibha Shree.S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

WT QP

The document contains questions for an exam on Web Technology. It includes questions on Java, JSP, Hibernate, RMI, TCP, XML, XSLT, AJAX, cookies, sessions, JDBC, MVC architecture and Struts framework.

Uploaded by

60 Vibha Shree.S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No.

B.E / B.Tech ( Full Time ) DEGREE END SEMESTER EXAMINATIONS, APRIL / MAY 2014

Branch: Information Technology

Degree: B.Tech, Semester: I V

Code no. / Subject: IT8451-Web Technology

(Regulation -2012)

Time: 3 Hours Answer ALL Questions Max. Marks 100


PART-A (10 x 2 = 20 Marks)

1. Write a java code to find factorial of n using recursive function.


2. Write a java code to display all the methods and constructors o f Socket class using
Reflection
2 Write java code to display domain name, IP address and port number o f host using
InetAddress method.
4 Write a java code to continuously display 'hello' with time delay o f 1000s using
threads.
5 Differentiate SAX with Dom parser.
g Write a java code to retrieve the information from a file.
7 Write short notes on some implicit objects in JSP.
g Let us assume, we have circle bean with radius as its persistence property. List these
persistent details by introspection,
g Display current date using JSP scriptlet

10. What is hibernate? List out the main features of it

Part - B ( 5 x 16 = 80 marks)

11. a. Write a java code to construct the class to represent a building, then as house or office
complex or as apartments. Use appropriate inheritance concepts
b. Get the student marks using an applet and display the mark sheet with grade.
Validate the required fields.

12. a) Write a client program has to get two numbers from the user and send to compute
server. Find the additioiynultiplication of two numbers at compute server and send
the result back to client. Implement using RMI.
(OR)
b) The File server maintains multiple files. The client should upload 2 files to file
server say filel and file2. He wants to download the concatenation of these two file
contents, as file3 from the server. Implement this extend featured FTP protocol
using TCP.

13. a) a. Get the students' details like name, register number and mark using form.
Generate DTD for this XML document.
Roll No.

Reg no Mark

Xyz 1000 90
Abe 1001 80
Rst 1002 89
Pqr 1003 87
Generate the collecfe<rrntOTrriation iri Thedesceiidmg urder ofmarks-tising XSLT.- -
_

Results should be displayed in the above format.

(OR)
b) Get the employee details like name, employee number and salary from database.
Retrieve these details using AJAX framework.

14. a) i. Create cookies with name of person and secret code at the server after
getting these details from client using HTML form. Display these details at
the server side using Http servlet.
ii. Display the current and yesterday's gold rate using session object.

(OR)
b) Get the details of the items to be purchased from a client and update the inventory
of the shop after selling. Prepare the bill for the client. Maintain the transaction
table also just by inserting these purchased item details at the shop. Implement it
using JDBC.

15. a) i. Explain the MVC architecture.


ii. Explain the model, view and controller components of struts. Explain struts
with forms using suitable example.

(OR)
b) Get name and age of a person from client with HTML form. Validate these details
at the client using java script. After submitting these details after validation, these
details should be inserted in a table at the server side using JSP.

You might also like