Displaying pdf file in a jsp page...

10-11  Source: Network gathering  Views:1 

I want to display a pdf document in a jsp page. i got that pdf file from a servlet class(MVC Architecture) through session. now my problem is to display that pdf file in my jsp page. can anyone give me a idea to solve this problem..
i used that code in scriplets. Actually my problem is I got one pdf file from session and i stored that file in a File object. the code is ..
File pdfDocument = (File) session.getAttribute(CommonConstants.EBILL_PDF_DOCUMENT);
now i have to display this pdf file in jsp..
Related articles