I have got this question from a document from sun ( as well as this question is also is Cade's book ) ==================================== You are developing a system with the following requirements: Users will access the system using a standard Web browser. All incoming requests will be filtered based on the user's IP address. The response to the request will be an appropriate static HTML page,based on the user's IP address. Which two J2EE technologies should be used to handle HTTP requests?(Choose two.) A.JSP B.JTS C.EJB D.SNMP E.servlets
The answer in Sun's document is given as A and E.
Option 'E' I understand, fintering part can be done by Servlet. But why JSP? In the question it is written that the output is a static html, but JSP is used to generate dynamic content....rest of the options also not seems to be correct!!!
You do know that there are two models for Model-View-Controller design pattern, right? Model 1 is based on JSP as controller while model 2 is based on servlet. [ June 20, 2004: Message edited by: Chong-Leng Goh ]