I think that the only clear advantage of using JSPs is the possibility for
HTML writer with very little knowledge in Java or any other programming
stuff to create data-driven Web pages.

On the other hand there is a huge disadvantage - one has to expose as many
data beans as that writer is supposed to be aware of. That means a lot of
them. In result JSP application gets extremely vulnerable to any
modifications. Should the specification the data bean change it will require
rewriting all JSPs using that bean.

Using servlet based model it is possible to handle the requests only by
single servlet dispatching those requests to the currently active form. In
other words all data beans are hidden behind that servlet.

Andrei Filimonov


----- Original Message -----
From: Felip Miralles <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09, 1999 12:53 PM
Subject: Re: Servlets or JSP?


> Still another question: is there any advantage in one of the models
proposed,
> i.e.
>
> Handling the requests by servlets, triggering some javabeans' actions, and
> delivering the response via JSP which get properties from these javabeans
>
> versus
>
> Handling both the request and response with JSP which trigger javabeans
actions
>
> ?
>
>
>
> Paul Sterk wrote:
>
> > Hi,
> >
> > Just a quick question for you JSP/Servlet gurus.  I have recently
started
> > working with JSP, and I am wondering if there is any reason to still
code
> > servlets.  Should I try to code just using JSP and JavaBeans?  Are there
> > reoccurring coding problems that are better handled by a plain servlet?
> >
> > Thanks!
> > Paul
> >
> >
===========================================================================
> > 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".
>
>
===========================================================================
> 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".
>

===========================================================================
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