I have three answers:

1. If you have to change common code, you only have to do it in one place:in
the bean or servlet, not in all the pages that excute that code.
2. The JSPs would handle the HTML code and/or JavaScript code making them
more clear.
3. It is possible then, to have a java team working separately on beans and
servlets and a HTML or Web-design team working on the structure and look.

Regards

Fran

> -----Mensaje original-----
> De:   GW [SMTP:[EMAIL PROTECTED]]
> Enviado el:   lunes 20 de mayo de 2002 13:16
> Para: [EMAIL PROTECTED]
> Asunto:       JSP & Servlets
>
> Hi All
>
> As far as possible JSP pages should only contain presentation data (html)
> and not embedded java code. Programmatical logic should be handled in
> beans and servlets and not in jsp pages.
>
> Can someone please be kind enough to tell my why this is important?
>
> Kind Regards
> GW
>
> ==========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to