Professional Documents
Culture Documents
CH 3 Ocwcd Test
CH 3 Ocwcd Test
[ any three ]
a. Page
b. Jsp
c. Taglib
d. Include
e. Request
f. Session
2) Identified the correct action used in jsp. [ any three ]
a. Jsp:include
b. Jsp:usebean
c. Jsp:plugin
d. Jsp:redirect
e. Jsp:fetchProperty
3) Deployment descriptor is known as?
a. Web.xml
b. Config.xml
c. Servlet
d. Response
4) Server uses the protocol to send html to client, which protocol is that?
a. Htm
b. Html
c. http
d. ftp
e. request/response
5) select correct http method. [choose all that apply ]
a. Get
b. Put
c. Post
d. Options
e. Trace
f. Head
6) Identify the protocol in below request.
http://www.google.com:6018/protocol/get
a. Get
b. Post
c. http
d. webapp
7) HttpServlet Class is inside which package?
a. http.servlet.HttpServlet
b. javax.servlet.HttpServlet
c. java.servlet.HttpServlet
d. servlet.http.HttpServlet
8) Find out the correct tag [choose all that apply]
a. Servlet
b. Servletx
c. getAttribute
d. setAttribute
e. url-pattern
9) which servlet api version we use?
a. 1.5
b. 1.4
c. 2.1
d. 2.2
e. 2.5
10) How to set content for response?
a. setContentType
b. setContent
c. sendRedirect
d. forward