File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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!