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
Sudd Ghosh
Ranch Hand
Joined: Oct 23, 2002
Posts: 187
posted
0
Servlet and JSP are protocol INdependent, whereas HttpServlet is HTTP protocol specific. JSP interfaces/classes extend from javax.servlet Thanks, Sudd
Sun Certified Java2 Programmer-1.4<br />Sun Certified Web Component Developer for J2EE Platform<br />Sun Certified Business Component Developer for J2EE1.3