Jump to content
We've recently updated our Privacy Statement, available here ×

when click the save button pdf should be opened


anupp

Recommended Posts

Hi All,
       I have generated PDF report in a destination i.e. C Drive or D Drive.But My requirement is when click the save button PDF Report should be opened.I have used jasperViewer.viewReport  but its working but problem is when generated view report and close the report then automatically server is shutdown. plase suggest me..

Thanks

Anup

 

Code:



Post Edited by anupp at 06/07/2010 05:26



Post Edited by anupp at 06/10/2010 11:12
Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

anupp
Wrote:

I have used jasperViewer.viewReport  but its working but problem is when generated view report and close the report then automatically server is shutdown. plase suggest me..

See http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html#FAQ2

If you want to launch the PDF viewer from your application, use java.awt.Desktop.open

HTH,

Lucian



Post Edited by lucianc at 06/15/2010 13:03
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...