The difference is mostly in the intended audience for the two
technologies. To write a servlet, you must be familiar with the Java
language and be able to write and compile a Java program. To write a
JSP, however, you simply need to be familiar with HTML. JSP syntax is
designed to be similar to HTML so that its easier to learn. Before its
served to a web browser, a JSP page is automatically compiled into a
Java servlet so it can do just about anything a servlet can do.


Ian Graham wrote:

> Hi, I am relatively new to this wonderful word of Java and the major
> question I have is:"Is there any difference between the functionality
> of a Servlet and a JSP" from what I can see they both can do exactly
> the same thing ?? Thank you,Ian

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to