Actually this is not the case,
Yes they are very closely related but there are differences
The two that come to mind are:
JSP output writer is set up for text output, which means
if you want your JSP page to output binary, it really is not
up to the job and you should use servlets.
Tag libraries only work with JSP and not with servlets.
There are quite a few other differences, but
for most things JSP is my perferred tool over servlets.
As I find JSP pages easier to create and maintain.
Casey Kochmer
[EMAIL PROTECTED]
>From: Ganesh MohanRao <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: JSP Vs Servlet
>Date: Wed, 11 Apr 2001 17:54:11 -0500
>
>Hi All,
>
>I have a basic doubt. I would like to know in what way "Servlet" is
>advantageous over "JSP".
>
>I feel I can do everything in "JSP" that can be done in Servlet.
>
>Is there anything which can't be done by JSP and can be done by Servlet?
>
>
>Thank you
>
>Ganesh
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets