This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes what is the difference between struts tag and jstl? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "what is the difference between struts tag and jstl?" Watch "what is the difference between struts tag and jstl?" New topic
Author

what is the difference between struts tag and jstl?

arulraj michaelraj
Greenhorn

Joined: Mar 07, 2007
Posts: 14
what is the difference between struts tags like struts-html.tld etc... and jstl tag?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This is way too general a question for me to answer adequately. In order to know the difference, you would have to have some understanding of what the Struts tags do. I'd suggest you spend some time reading the Struts User Guide, particularly the section on Building View Components to get a general understanding, and then look at the Struts taglib documentation for more specific information on what each tag does.

If there is anything that is unclear to you after looking at some of the above documentation, please let us know, and we'll try and clarify.


Merrill
Consultant, Sima Solutions
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Most of the Struts Logic tags can be replaced by using JSTL tags. The Struts Logic tags exist because they were written before JSTL existed. Most of the Struts HTML tags are there to make interacting with Struts forms and actions easier. I don't see much overlap between the two.

- Brent
 
 
subject: what is the difference between struts tag and jstl?
 
Similar Threads
dispatcher Vs action dispatcher
Struts ForwardAction vs Forward tag in jsp
JSTL tag vs struts tags
Struts Vs WebWorks
JSF vs Struts?