• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why JSP is HTTP depenent?  RSS feed

 
Dhananjay Inamdar
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Sudd Ghosh
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet and JSP are protocol INdependent, whereas HttpServlet is HTTP protocol specific. JSP interfaces/classes extend from javax.servlet
Thanks, Sudd
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!