We all know that JSP is extended from the architecture of Servlet, and added some advanced facilities in JSP. Then why servlet is protocol independent and JSP is HTTP dependent. Actually JSP is advanced than Servlet, then JSP also has to be protocol depenent. But the JSP is protocol dependent, anybody tell me why is it so?
Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
posted 14 years ago
Servlet and JSP are protocol INdependent, whereas HttpServlet is HTTP protocol specific. JSP interfaces/classes extend from javax.servlet Thanks, Sudd