on 1/12/01 12:31 PM, "Craig R. McClanahan" <[EMAIL PROTECTED]>
wrote:

> So did you Jon ... it's called Velocity :-)

Exactly. It would have been nice if JSP was done right from the start
instead of having an original goal of attempting to provide a solution to
strictly compete with ASP.

> JSP, as Tomas points out, is a low level toolkit, on top of which you can
> build
> higher level constructs (with custom tags).  For example, the Struts-based
> equivalent of your example is (where "parameters" is a bean in some scope that
> is a Collection, a Map, or an array):
> 
> <logic:iterate id="parameter" name="parameters">
> <tr>
> <td><bean:write name="parameter" property="key"/></td>
> <td><bean:write name="<%= parameter.getKey() %>"/></td>
> </tr>
> </logic:iterate>

I will restate the point of my earlier email...

Jon said:
> In other words, yes, you could have done the above JSP snippet correctly,
> however, my issue with JSP is that it almost encourages you to do it
> incorrectly.

...

> One can edit this stuff by hand if you want, but we're also starting to see
> IDE
> tools that understand this stuff -- complete with popping up dialong boxes to
> populate the appropriate attributes -- in the same way the IDE tools for
> building JavaBeans took much of the drudgery out of that process.

Right, Dreamweaver's recent additions sound very cool and a much needed
advancement for helping with JSP, however, it isn't real feasible as a
requirement for working on OSS projects since it is commercial (expensive!)
software. :-(

> But, of course, Jon and I go *way* back on this particular topic :-).

:-)

-jon


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to