hi
i want to sent the response output of my
servlet to a the user as a pdf. like as the user selects a particular set of options, the servlet does some calculations and should send a pdf as an output to the user..
So basically,I want to generate PDF content to be served up directly through a servlet with no intermediary file in the file system..
I think we can do this using streams but i am not able to get my code correct.
Can anybody provide me with any example code where i can put my calculations done in the servlet in pdf format to the user.. i have gone through iText documentation and feel that iText is used to write the output to a pdf file but here i do not want to generate any intermediate file and want the output to be directly presented to the user in pdf format..
please help!!