2) Which of the following status code ranges used with the HTTP protocol
means everything is OK?
a) 200 +
b) 300 +
c) 400 +
d) 500
+
( a )
3) True or False?
In the HTTP servlet the doGet( ) and doPost( ) methods
are called by the service( ) method.
( True )
4) True or False? JSPs are restricted to adding Java Code to HTML
pages.
True \ False
( False )
//
Comment: Different scripting languages can be used and added to
// XML or other text type pages
5) True or False? JSPs are first compiled and then translated
into servlets.
True \ False
( False )
//
More correctly, JSPs are first translated into servlet source
// code and then compiled into
servlet classes
6) In both Model I and II JSP Architecture which of the following
serves as the
'View'?
a) Browser
b) Servlet
c) Data Source
d)
JSP
( d )
// The
main theme in both models is that the JSP
// ultimately provides the presentation or view.
7) True or False? Like JSPs Servlets need to be compiled in advance