Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing unwanted UI html

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
When I use the <s:form> tag it adds unwanted html code such as tables etc How can I remove them ?
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When you use Struts tag it add <td> element so always use theme="simple" with struts tag.


Like .

<s:form method="post" action="doLogin" theme="simple" >


</s:form>

 
stef li
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add theme="simple" in your form tag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic