Subject:
WT
Class : III yr II Sem CSE-C
PART-A
Multiple
choice:
- Servlets
are used at? [ ]
a. Broswer side
b. server side
c. Both
d. None
- 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
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
- How many
jdbc drivers are there [ ]
a. one b. three c. four d.
five
- To
execute jdbc program we need [ ]
a. jdbc software b. jdbc jar file c. mysql software d.
oracle software
- 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.
- _______________are
used to do session tracking .
- Class.forName()
method is used for ___________
PART-B
Answer any three:
1.
What are JSP directives ? Write any JSP program
for login screen?
- Explain about the lifecycle of servlets?
Illustrate with a suitable example for servlets ?(Write down the steps to
write servlet programs)
- What are the advantages and characteristics of
JAVA BEANS?
- Develop a web application for registration for
email login details using jsp and jdbc?
- Explain about the session tracking? Write a
example program for Cookies
- 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