wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts and Normal HTML Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and Normal HTML Tags" Watch "Struts and Normal HTML Tags" New topic
Author

Struts and Normal HTML Tags

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
Hi All,

Is it restricted to use general HTML tags within <html:form> tags?

Thanks


$Hi/\bEr
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

NO, you can mix up the tags, because, finally all struts tags rendered out as the plain HTML tags , but keeping the code consistency is required, either use complete Struts tag OR simple HTML at least for FORMS. Struts tag provides you some convenient attribute names, like saying <html:text property="age"/> sounds more close to the bean property "age" than simple <input type="text name="age"../>, though its not the rule. ;)


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts and Normal HTML Tags