wrote:
<snip>
> Does anyone really think that the XML syntax (jsp tags) is easier to
> read or that you are using less logic just because the syntax for the
> logic is XML instead of java ?
The idea was to separate java code from HTML. Tags look just like any
other HTML tag. They might have different attributes but they're still
just tags. Scriptlets introduce java source code into the HTML page.
This is considered to be a "bad thing". Theoretically, you could work
in a large enough shop where the HTML people are graphic artists who
know nothing about java. Do you really want to run the risk of them
"accidentally" altering your carefully crafted code? With tags they
shouldn't have access to the source, only the functionality provided.
Besides which, IMHO scriptlets just plain look messy! YMMV