I am sending a pdf file from a servlet(application/pdf) but when the acrobat reader shows, I can close it without close my application window. How can I show a "close" button in the Acrobat or show the pdf in a new window?.
I was using the "inline" tag, the problem with the "attachment" tag is that an action's confirmation window appears (save as, open, etc)... My app's users have not a good level and I need to that window does not appear.
I tried with the "target" tag (HTML) but the problem was with the submit() method because it takes the fields from the new window and not from the "main" window.
subject: How can I close Acrobat Reader when a servlet show a pdf file?