File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts tag vs html tag" Watch "struts tag vs html tag" New topic
Author

struts tag vs html tag

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
Hello,

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
Author
Rancher

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.
 
Don't get me started about those stupid light bulbs.
 
subject: struts tag vs html tag
 
Similar Threads
how to hide and show contents with struts2 div tag
Any idea what could cause new <br> tags to get added to the rendered code?
jsp name attributes
Help
Need help selecting a value from a list with multiple ids that are the same