This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes struts tag vs html tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts tag vs html tag" Watch "struts tag vs html tag" New topic

struts tag vs html tag

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110

could you give me an explanation, why I should used struts <s:div>...</s:div> rather then basic html tag <div>...</div> and so on ?

What benefits have prefering struts tags (I mean basic tag like div, a, ... ) ?

Thank you for your explanation.
David Newton

Joined: Sep 29, 2008
Posts: 12617

Like the documentation says, the <s:div> tag is primarily for use with the Ajax theme (although the Dojo tags are deprecated as of S2.1.6). The documentation provides further info.
I agree. Here's the link:
subject: struts tag vs html tag
It's not a secret anymore!