Quoting Taylor Gautier ([EMAIL PROTECTED]):
> JSP gives you exactly the same capabilities as a templating language, in
> fact it is a templating language. It goes much further than that, however,
> because it uses JavaBeans as backend data providers, meaning that any Bean
> is usable by JSP, so really any kind or type of data can be inserted.
WebMacro is similar in that it relies on beans to supply the back end data.
> It is possible to put in or leave out Java code in the template.
However, it is not possible to force that architecturally. This is similar
to saying that it is possible to write object oriented programs in C.
> Presumably to do that kind of a thing (looping over a result set) is not
> possible in your language, and if it is it is probably limited in some
> capacity, whereas the ability to code Java directly into the template opens
> up a lot of capabilities not possible with a purely templated/scripted
> language (and of course leaves you enough rope to hang yourself by too!)
You should check. WebMacro can loop over a result set, as can most of
the other template systems I've seen.
WebMacro was recently selected as one of the best three servlet products
of 1999, by the Java Report, in the current issue.
Justin
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html