Forum How do I...?

Invoking HTML in serverside

kannacbe
Hi I am using JSP, struts and tomcat server. My requirement is , In my web page, once i need a have a button for pdf generation. I am using below code for this,

prince.convert(inputstream,Outputstream);

My question is how can I get the whole html code as my input stream in server side.

Thanks in Advance
mikeday
This is really a Tomcat/Struts question. One way might be to use a servlet response filter, but perhaps Struts provides a higher-level way of capturing page output?