You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <We...@asu.edu> on 2002/10/18 18:29:04 UTC

Struts & JSTL

I came to Struts and JSTL at the same time, and I've heard things like "You
should use forEach instead of iterate."  I'm not clear on which Struts tags
have exact replacements in JSTL, or whether I should always prefer the JSTL
tag if there is one that does the same thing as a Struts tag.  Is there any
problem with nesting Struts tags inside of JSTL tags?

<wish-list>Has anyone done a side-by-side comparison showing the usage of
similar tags from both libraries?</wish-list>

-- 
Wendy Smoak
http://sourceforge.net/projects/unidbtags 
http://www.pbase.com/wendywds


Re: Struts & JSTL

Posted by "V. Cekvenich" <vi...@users.sourceforge.net>.
One simple answer is use only the HTML-EL and TILES tag from Struts. 
(Logic and Bean are to be deprecated down the road)
For rest, use the JSTL tags. (Do not use the JSTL SQL tag).

Also, I think that Craig said that JSF will replace the Struts HTML tag 
as well.
So Struts just ends up as a pure Model 2 implementation.

.V



Wendy Smoak wrote:
> I came to Struts and JSTL at the same time, and I've heard things like "You
> should use forEach instead of iterate."  I'm not clear on which Struts tags
> have exact replacements in JSTL, or whether I should always prefer the JSTL
> tag if there is one that does the same thing as a Struts tag.  Is there any
> problem with nesting Struts tags inside of JSTL tags?
> 
> <wish-list>Has anyone done a side-by-side comparison showing the usage of
> similar tags from both libraries?</wish-list>
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>