The moose likes JSP and the fly likes Why JSP is HTTP depenent? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Why JSP is HTTP depenent?" Watch "Why JSP is HTTP depenent?" New topic
Author

Why JSP is HTTP depenent?

Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 128
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
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
 
 
subject: Why JSP is HTTP depenent?
 
Threads others viewed
Can a servlet/jsp write/ read files outside its context/domain ?
For JSP scopes of request and page, what type of object is used to store the attribut
ServletRequest or HttpServletRequest ?
Why Jsp cant support FTP & SMTP
What Protocols does servlets supports?
IntelliJ Java IDE