JBridge

JBridge: Certification Question Of The Day

JBridge Home >> Certification Questions >> Question for Sunday 1st June 2003 Sunday 1st June 2003

True or false: a JSP implements the javax.servlet.http.HttpServlet interface.



A True
B False
Page down for the answer...











































The Answer

Although a JSP is every inch a servlet (javax.servlet.Servlet), it is surprisingly not an HttpServlet. So the answer is B, false.
JSP pages have interfaces with a separate inheritance hierarchy to an Http Servlet. Take a look at the inheritance hierarchy for javax.servlet.jsp.HttpJspPage.


EMail: dbridgewater@jbridge.co.uk
Phone: +44 (0)1943 877414
Fax: +44 (0)1943 877414
Mail: David Bridgewater, Willow Dene, Bradford Road, Menston, Ilkley, West Yorkshire, LS29 6ED, UK
Copyright © 2003 David Bridgewater. All rights reserved.