Re: HTML table API
Wayne Unruh <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
Rich, I don't know exactly what you want to do, but when I wanted to go from Java to HTML, first I went from POJO's to XML and then from XML to XHTML. To go from POJO's to XML I followed the Java EE Tutorial on "Binding between XML Schema and Java Classes" at http://java.sun.com/javaee/5/docs/tutorial/doc/bnazf.html. Specifically the sections on "Customizing Generated Classes and Java Program Elements" at http://java.sun.com/javaee/5/docs/tutorial/doc/bnazy.html and "Basic JAXB Examples" at http://java.sun.com/javaee/5/docs/tutorial/doc/bnbay.html. There are also some usefull code snipits at http://java.sun.com/javaee/5/docs/api/javax/xml/bind/JAXBContext.html and http://java.sun.com/javaee/5/docs/api/javax/xml/bind/Marshaller.html. To go from XML to XHTML I used XSL Transformations (XSLT). There is a good tutorial at http://www.w3schools.com/xsl/default.asp. I hope that this helps. Wayne Unruh (919) 802-1244 [email protected] > Date: Wed, 18 Mar 2009 20:21:38 -0400 > From: rhammer-KKlG/[email protected] > To: [email protected] > Subject: [Juglist] HTML table API > > I am starting to write a class to represent an HTML table being generated in my > Java code. Surely this has been done many times before. But I guess I'm not > Googling right. > > I want to create an HTML table (a String of HTML output) in my Java code. Can > someone recommend an API that does this. > > Thank you, > Rich Hammer > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme _______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org