I have a scenario where I have an asp page which has various buttons on the asp page.
I want to call this asp page from my Java application which uses swings,applets,servlets.
So will this pdf page automatically show up ?What happened when you tried it? If I read the documentation of showDocument(), all it does is open the page in the browser that is currently hosting the applet. If that produces a PDF and the client computer is setup to be able to display PDFs, it will show up yes. Otherwise it will likely trigger a download.