We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Technical Issue in generating PDF using JAVA

Please guide me to how to generate a PDF file directly at the browser, using Java.

As, with classes and methods provided in Aspose jar, file first gets created in a disc and using file input stream reader, I am able to show it on a browser.

But this, will cause a load performance issue on unix server, when concurrently many users will generate a PDF.

So, kindly provide me the java code, where I can generate a PDF without getting created on the server.

Also, help me to use the method - save (OutputStream)

Hi Akhilesh,

Thanks for contacting support and sorry for the delayed response.

In order to display the resultant PDF document in browser, please try using the following overload of Save method.


SaveType.OpenInBrowser, new aspose.pdf.HttpResponse());<o:p></o:p>