Online Servlets quiz with 20 questions for Servlets enthusiasts with some
sample questions. This online test helps you prepare for upcoming interviews,
certification tests and other entrance exams. The score displayed at the end of
Servlets test helps you assess your level of preparation.
Online Practice
Test > Servlets quiz
Here are few sample Servlets quiz/test questions
Which method is used to specify before any lines that uses the PintWriter?
setPageType()
setContextType()
setContentType()
setResponseType()
Which of the following are the session tracking techniques?
URL rewriting, using session object, using response object, using hidden fields
URL rewriting, using session object, using cookies, using hidden fields
URL rewriting, using servlet object, using response object, using cookies
URL rewriting, using request object, using response object, using session
object
To get the servlet environment information
ServletConfig object is used
ServletException object is used
ServletContext object is used
ServletContainer object is used.
Click here to
start Servlets quiz/test
More Links
Servlets are java classes which run on a web server. The results produced by the
servlet are viewed on a remote web server. Servlet is a server side component
in web applications. The servlets performs the request / response paradigm
using the web container. Servlets is the best alternative for CGI..............
Describe
the main purpose of servlets.
A java enabled server’s functionality can be extended by a servlets. Usually a
servlets is used to develop web applications in a web
server................
|