----- Original Message -----
From: Justin Wells <[EMAIL PROTECTED]>
To: Taylor Gautier <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 4:25 AM
Subject: Re: In what ways does JSP score over Servlets ?


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

ok...?  I don't think we were talking about WebMacro, but if you want to,
sure...

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

I don't think I asserted that...

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

You're probably right [most systems support a loop].  In the most generic
sense
though, the loop will be limited in some way.  Sooner or later you'll want
to do
something that just isn't possible with your templating languages loop
construct
(unless it's as full featured as a full blown programming language, and
then,
if that's the case, tell me what's the difference between your scripted
template language and java embedded in JSP [except speed!])

> WebMacro was recently selected as one of the best three servlet products
> of 1999, by the Java Report, in the current issue.

Do you work for them?

> 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

Reply via email to