You are on page 1of 1

1. What does ServletConfig interface do?

2. Explain Servlet lifecycle.


3. What are the advantages of Servlet over CGI?
4. What is Servlet? Explain Servlet API.(write classes and interface names of packages)
5. When a Servlet accepts a call from a client, it receives two objects. What are they?
6. How do we support both GET and POST protocol from the same Servlet? with
example program.
7. What are the different types of XML elements?
8. What are the different built-in objects in javascript?
9. How can you declare attributes in XML? Give an example.
10. Explain purpose of CSS and types.
11. What are the different XSLT elements??
12. What is DTD? And types of DTD’s and List out the advantages of schema over DTD?
13. Explain session tracking. How cookies can be used for session tracking? With
example program.
14. What are the two objects that a servlet receives when it accepts a call from client?
How does server side programming differ from client side programming?
15. List out the steps that are needed for accessing a database from Servlet.
16. Write JavaScript to create user registration form with following constraints validate
the registration, user login, user profile and payment by credit card pages.
17. What is an event? Explain onClick() and onSubmit() event handlers in JavaScript with
example programs?
18. Describe Event handlers in Java Script and write a java script for sorting the elements
of an array using function.
19. Write note on Common Gateway Interface (CGI). And What potential advantages do
servelets have over CGI programs? Explain.

20. Explain Types of CSS? Create a Registration form which contains firstname,
lastname, username, password, gender, date of birth (show calendar), checkbox
(ssc,inter... etc), dropdown list(for branches like CSE,IT ,ECE…etc ) ,comment box
and submit button. if we click on submit button show the message i.e “registration
successfully” on same page.
21. Demonstrate the use of cookies in servlets with an example. And Write a servlet program
to retrieve data from the database.
22. Write HTML code to create a frame with table contents on the left side of the
window, and have each entry in the table of contents. Use internal linking to scroll
down the document frame to the appropriate section.
23. Use XML Schema language and define the schema for students information. Each
student should have an attribute called rollno and elements name, section, branch and
email id.
24. What is an XML DOM ? How DOM parses the XML file? Describe with suitable
example.
25. What is an XML SAX? How SAX parses the XML file? Describe with suitable example.

You might also like