This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes JSTL tag vs struts tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSTL tag vs struts tags" Watch "JSTL tag vs struts tags" New topic

JSTL tag vs struts tags

Manjunath Narayana

Joined: Jul 04, 2005
Posts: 2

is there is any performance advantage of JSTL equivalent tag of struts logic:equal tag. Could you also give the JSTL tag for that.

Colin Shine

Joined: Aug 12, 2005
Posts: 26
As far as I know, there's no appreciable performance advantage to JSTL, but, unlike Struts, it is a standard, so if you use the JSTL tags you're guaranteed to have support for them far into the futue.

An equivalent tag would be

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I agree with Colin. There isn't an appreciable performance difference between the two tag libraries, but JSTL is a standard part of J2EE, and Struts tags are not. JSTL tags are also much more powerful than Struts tags. I generally use Struts tags only when there is no equivalent JSTL tag (<html:xxx> tags, for example).

Consultant, Sima Solutions
I agree. Here's the link:
subject: JSTL tag vs struts tags
It's not a secret anymore!