Professional Documents
Culture Documents
Question 1 of 20
B. exception-type
C. error-page
Question 3 of 20
B.Init()
C.Service()
D.Resume()
Question 4 of 20
B. Synchornised
C. Thread safe
Question 5 of 20
Which of the tag contains a code fragment valid in the page scripting language?
A. <%= expressions %>
Question 6 of 20
B.Properties
C.Methods
D.Scripting Elements
Question 7 of 20
_______ is the process of creating a copy of an object suitable for passing to another object
A. Serialization
B. Sockets
C. Reflection
D. Cookies
Question 8 of 20
B.Page
C.Request
D.User
Question 9 of 20
B.Beans
C.Scriplets
D.Directives
Question 10 of 20
B. i-ii
C. ii-iii
D. i-iv
Part 2 of 2 - Part 2
Question 11 of 20
Question 12 of 20
What is the limit of data to be passed from HTML when doGet() method is used?
A. 4K
B. 8K
C. 1K
D. 2K
Question 13 of 20
Question 14 of 20
The getSession() method with true as its parameter [ getSession(true) ] it will return the
appropriate session object when
A. the session object is passed to another method
Question 15 of 20
B. URL rewriting, using request object, using response object, using session object
C. URL rewriting, using session object, using response object, using hidden fields
D. URL rewriting, using session object, using cookies, using hidden fields
Question 16 of 20
How many ServletContext objects are available for an entire web application?
A. Only one
Question 17 of 20
B. to include an image
Question 18 of 20
C. may be same
Question 19 of 20
B. contextInitialized((),contextDestroyed()
Question 20 of 20
Question 1 of 20
B.Properties
C.Methods
D.Scripting Elements
Question 2 of 20
B. iii-iv
C. ii-iii
D. ii-iv
Question 3 of 20
The ________________________ when added to the user session tells us that the session
timed out.
A. SessionTimedoutIndicator
B. SessionTotalTimeOutIndicator
C. SessionTimeoutIndicator
D. SessionTotalTimedoutIndicator
Question 4 of 20
B. JspError
Question 5 of 20
URL encoding is the method of replacing all the spaces and other extra characters into their
corresponding _______ Characters
A. Decimal
B. Binary
C. Hex
D. Octal
Question 6 of 20
B. Synchornised
C. Thread safe
Question 7 of 20
Which of the tag is used to show the comments in the JSP page?
A. <%= expressions %>
Question 8 of 20
The _____ method performs the cleanup of objects created during requests and responses
between clients and servers
A. Resume()
B. Init()
C. Run()
D. Destroy()
Question 9 of 20
B.Page
C.Request
D.User
Question 10 of 20
All the ___________ data is kept at the application server ___________ data is kept at the
web server
A. static, dynamic
B. HTML, Servlet
C. dynamic, static
D. Servlet, HTML
Part 2 of 2 - Part 2
Question 11 of 20
Question 12 of 20
Question 13 of 20
Question 14 of 20
Question 15 of 20
C. Servlet container
D. Servlet context
Question 16 of 20
B. contextInitialized((),contextDestroyed()
Question 17 of 20
B. URL rewriting, using request object, using response object, using session object
C. URL rewriting, using session object, using response object, using hidden fields
D. URL rewriting, using session object, using cookies, using hidden fields
Question 18 of 20
Question 19 of 20
Which method is used to specify before any lines that uses the PintWriter?
A. setResponseType()
B. setPageType()
C. setContextType()
D. setContentType()
Question 20 of 20
Question 11 of 20
Question 12 of 20
B. Servlet container
C. Servlet context
Question 13 of 20
Question 14 of 20
B. servlet container
C. servlet context
D. servlet config
Question 15 of 20
Question 16 of 20
B. URL rewriting, using request object, using response object, using session object
C. URL rewriting, using servlet object, using response object, using cookies
D. URL rewriting, using session object, using response object, using hidden fields
Question 17 of 20
The getSession() method with true as its parameter [ getSession(true) ] it will return the
appropriate session object when
A. the session is existing
Question 18 of 20
Question 19 of 20
B. to include an image
Question 20 of 20