  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | help on using JDOM | help on using JDOM 2004-04-09 - By Jerry
Back Hi all,
I am totally new to JDOM. Hopefully, someone can give me some suggestion.
Currently I am working a project. I need to write a servlet to get a binary tiff data from database and put it tempararily in the memory(a byte array). This part is done. Next I need to grab these data and render it to the web browser in PDF format using JAXP and FOP.
My question is: can I use JDOM to build the binary data as XML in memory(not saved in a local file system) so that I can I can pass the XML stream directly to FOP and render them in PDF?
I will appreciate if you can give me some advice or you have other better approach.
BTW, my project requires everything must be done in memory and render the data in PDF. I did a lot of research and not luck at all. I am a little headache.
Please help,
Jerry
__ ____ ____ ____ ____ ____ ______ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected) .com
|
|
 |