File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JSTL tag vs struts tags
It's not a secret anymore!