chintan_shah09 0 Newbie Poster

Hi,

I have this scenario and I want to accomplish it using Servlet.

I need to build an in-memory Dynmic HTML and pass it on as an InputStream to itext API to convert that XHTML to PDF. Data to be inserted in that in-memory HTML tags will come from a web-service.

Please help me how can I generate all HTML without using out.println("") in Servlet.

Thanks for help in advance.

Regards,
Chintan.