ProAnswers.org

What is the difference between JSP and Servlets ?

JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported

protocol in JSP is HTTP. But a servlet can support any protocol like HTTP, FTP, SMTP etc.