Thursday 10 April 2014

Question paper for servlets and jsp for WEB TECHNOLOGIES

Subject: WT
Class     : III yr II Sem CSE-C
PART-A
Multiple choice:

  1. Servlets are used at?                                                                                      [           ]
a. Broswer side
b. server side
c. Both
d. None
  1. Servlet mapping defines?                                      [A         ]
a.  an association between a URL pattern and a servlet
b.  an association between a URL pattern and a request page
c.  an association between a URL pattern and a response page
d.  All of the above

  1. How many jdbc drivers are there       [           ]
a. one  b. three           c. four              d. five

  1. To execute jdbc program we need                                         [           ]
a. jdbc software          b. jdbc jar file c. mysql software        d. oracle software

  1. Following is not the JSP implicit object                           [        ]
a. String            b. config        c. out            d. request.

Fill in the blanks:
1.       JSP stands for ___________________________.
2.      Jdbc is used to ________________________.
3.      _____________________methods are the Servlet lifecycle methods.
  1. _______________are used to do session tracking .
  2. Class.forName() method is used for ___________

PART-B
Answer any three:
1.     What are JSP directives ? Write any JSP program for login screen?
  1. Explain about the lifecycle of servlets? Illustrate with a suitable example for servlets ?(Write down the steps to write servlet programs)
  2. What are the advantages and characteristics of JAVA BEANS?
  3. Develop a web application for registration for email login details using jsp and jdbc?
  4. Explain about the session tracking? Write a example program for Cookies
  5. What are the steps are involved while writing the jdbc program? Illustrate with a jdbc program to store data into the database




No comments:

Post a Comment