This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-logic.tld question" Watch "struts-logic.tld question" New topic
Author

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.


Merrill
Consultant, Sima Solutions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: struts-logic.tld question
 
Similar Threads
what is the use of struts-logic in struts
Checking if messages exist
if statement with stuts:logic
Struts tags are not working fine
logic:present tag behaving badly