File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts-logic.tld question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-logic.tld question" Watch "struts-logic.tld question" New topic

struts-logic.tld question

Tony Smith
Ranch Hand

Joined: Jul 07, 2007
Posts: 229
Is it true that all the functionalities in struts logic library can be replaced with JSTL? So we don't even need to use the logic library right?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Yes, what you say is mostly true. In nearly every case, what you might want to do with the Struts logic tags can be done just as well or better with JSTL tags. However, there are a few logic tags that have no direct JSTL equivalent such as logic:messagesPresent that are worth using.

Consultant, Sima Solutions
It is sorta covered in the JavaRanch Style Guide.
subject: struts-logic.tld question