On Mon, 20 May 2002, GW wrote:

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

You should be able to get answers to this from most any book on the
subject (Marty Hall has a couple of good ones) and/or many online
tutorials/articles/resources.  Anyway, there are a number of reasons
this is good policy, including that it makes for a cleaner design,
better scalability, easier maintainability, and better separation of
tasks between team members (particularly web design people who would
work on the HTML/JSP pages and programmers).

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
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