Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the difference between struts tag and jstl?

 
arulraj michaelraj
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between struts tags like struts-html.tld etc... and jstl tag?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic