i want to generate a pdf from xml through servlet.can anyone give me idea how to do that...Is there any sample program avaliable where i can get some idea.
You can use another third party library of course. Otherwise, you would have to know the structure of PDF documents internal workings, and basically write the PDF document from scratch yourself.