File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes xml data islands + alternate row color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "xml data islands + alternate row color" Watch "xml data islands + alternate row color" New topic
Author

xml data islands + alternate row color

Sarran Vidyakumar
Greenhorn

Joined: Mar 26, 2003
Posts: 28
My jsp pages has an embedded xml data island which is output as a html table. Is there a way to alternate the colors of the rows ??
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Moving to the HTML/JavaScript forum...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
when you are outputting the table you need to assign the background color to the table row.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml data islands + alternate row color
 
Similar Threads
Colletion class to to find unique elements
Annotations and EJB's
Determining when to use an attribute vs. an element
How to do XML to DB using Message Driven Bean?
How to avoid special characters while reading xml through java