wood burning stoves*
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
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.
jQuery in Action, 2nd edition
subject: struts tag vs html tag
Similar Threads
jsp name attributes
Any idea what could cause new <br> tags to get added to the rendered code?
how to hide and show contents with struts2 div tag
Need help selecting a value from a list with multiple ids that are the same