Both technologies are very similar, and JSP primarily extends the Servlet API. Servlets are a pure Java method of generating/manipulating HTTP requests and responses. JSP is a more markup friendly method of generating HTTP responses. You tend to see JSP used for generating HTML/XHTML/etc pages, and Servlets (more specifically servlet filters) tend to be used for building more Java-intensive, low level functionality, such as auto-compressing HTTP responses or tracking what pages are most visited.
In general, you should not think that it is desirable to choose only one of the two technologies to use. If you want to build a web application with Java you will likely want to know both, especially since you'll want to use things such as servlet filters to aid the markup generated by JSP. Cheers, Jayson Falkner [EMAIL PROTECTED] On Wed, 2003-05-28 at 21:43, Leviaguirre Queral Jos� Luis wrote: > What are the differences, advantages and disadvantages on programming > Servlets vs JSP. > > In other words: What are Servlets and JSP mostly used. > > Thanks in advanced, > > Jose.- > > Jose Luis Leviaguirre Queral > Programador Zentrum ZiztemaZ > Of. 5223-8476 > > > "De todas las flores de la vida, la venganza es la que m�s pronto se > marchita." (Mika Waltari, escritor.) > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
