John Hicks wrote:

> Thanks for the comparison of template engines to JSP. How about some
> database examples?

The $isps example was a real example from Servlets.com with the ISP data
read from a database.  My servlet got a result set and passed the data
to the template to be looped over for display.  The template hid the
controller logic so well you didn't know it was from a database.  :-)

> WebMacro removes Java from HTML pages, but leaves a Perl-like logic.
> Couldn't we take Model-View-Controller further?

Sure, I'm game.  WebMacro isn't the only game in town.

> Our XMLServlet uses XML to further remove (database) logic from
> layout. Maybe think of its XML-tagged instructions as Controller,
> matching Model and View, neither of which then need know (much)
> of the other....

Excellent.  There are lots of good alternatives to JSP.

-jh-

___________________________________________________________________________
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