>I have wondered about this too.  JSPs get converted into Servlets, and
>it is actually a servlet (with lots of printlns) which gets executed.
>So are there any real advantages of using JSP over directly coding the
>servlet?

Nimish,

The major advantage offered by JSPs is the separation of programming logic
(i.e., your Java code) from the presentation logic (i.e., the JSP page).
This is accomplished by coding your application into beans, which are then
accessed by a JSP page via the <jsp:useBean> and <jsp:getProperty> tags.
The Java code resides in the beans, where it can be maintained separately
from the user interface code, which resides in the JSP.

- Mark

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to