Frank,
JSP is useful in a number of situations as summarized below:

1. JSP "hides" much of the nuts-and-bolts of the servlet code. When used in
combination with Java beans, a developer without a detailed background in
servlets, say a person normally responsible for HTML page layout, can still
construct a powerful and useful web application.

2. JSP helps separate presentation from program logic. Even though the final
code generated by the JSP procedure builds the needed code to write out the
HTML, it is much easier to simply update the HTML in the JSP file and
arrange things how ever you want and let the processor handle the details.
This even opens the door to allowing a page layout designer do the HTML
while a Java programmer codes the logic.

3. As mentioned briefly above, JSP's ability to take advantage of Java beans
can be a very useful tool in building applications.

4. Because of JSP's tendency to look like Microsoft Active Server Pages,
ASP, in many respects, it is sometimes easier for a developer making the
transition from ASP to servlets to start out with JSP.

I would not say that a developer should choose either JSP or servlet
development exclusively but I think JSP certainly has its place and I am in
the process of converting some of my pages to JSP which seem to be a better
fit (i.e. an application log-in page).

----- Original Message -----
From: Frank D. Greco <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 9:49 AM
Subject: JSP vs Servlets?


> If JSP's are basically post-processed into Servlets, what
> are the real advantages of JSP's?
>
> Frank G.
> +======================================================================+
> | Crossroads Technologies Inc, 55 Broad Street, NYC, NY 10004          |
> | Email: [EMAIL PROTECTED]         Web: www.CrossroadsTech.com |
> | Voice: 212-482-5280 x229                 Fax: 212-482-5281           |
> +======================================================================+
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

Reply via email to