</head>http://www.roseindia.net/answers/questio" name="description">

Hi, <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%>
</head>http://www.roseindia.net/answers/questionposthelp.shtml
<body>
<%
Document document=new Document();
try{
PdfWriter.getInstance(document,new FileOutputStream("reporttest1.pdf"));
document.open();
document.add(new Paragraph("this is to test"));
}catch(Exception e){}
finally{ document.close();}
%>
</body>
I added itextpdf jar file to the libraries.the pdf file are not opened when i execute the program.please send the code to open the pdf file when i execute the jsp page.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
