jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Removing unwanted UI html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Removing unwanted UI html" Watch "Removing unwanted UI html" New topic
Author

Removing unwanted UI html

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
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

Joined: Sep 07, 2008
Posts: 684

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>


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
stef li
Greenhorn

Joined: Jan 16, 2006
Posts: 27
add theme="simple" in your form tag


This guy is so lazy!!!<br />There is nothing left!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Removing unwanted UI html
 
Similar Threads
Remove HTML code
Send response to AJAX from jsp
WA #1.....word association
unwanted whitespace bug in IE
String manipulattion