5 Replies - 6716 Views - Last Post: 19 July 2008 - 09:34 AM Rate Topic: -----

#1 fsloke  Icon User is offline

  • D.I.C Regular

Reputation: 25
  • View blog
  • Posts: 412
  • Joined: 19-December 07

how to print JSP to pdf format?

Posted 15 July 2008 - 09:07 AM

how to print JSP to pdf format?

Thank you
Is This A Good Question/Topic? 0
  • +

Replies To: how to print JSP to pdf format?

#2 JeroenFM  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 18
  • View blog
  • Posts: 195
  • Joined: 30-June 08

Re: how to print JSP to pdf format?

Posted 15 July 2008 - 09:43 AM

View Postfsloke, on 15 Jul, 2008 - 09:07 AM, said:

how to print JSP to pdf format?

Thank you


I very much doubt that using a JSP is suited for that, I'd personally use a Servlet combined with some library to create PDFs (such as http://www.lowagie.com/iText/), and then make sure I'm sending the correct HTTP Content-type header and just write all PDF-content to the Servlet's outputstream.
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: how to print JSP to pdf format?

Posted 15 July 2008 - 09:52 AM

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#4 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: how to print JSP to pdf format?

Posted 15 July 2008 - 12:18 PM

Good link.

If you want a simple pdf output you can use SPdf it is a tiny simple library
Was This Post Helpful? 0
  • +
  • -

#5 fsloke  Icon User is offline

  • D.I.C Regular

Reputation: 25
  • View blog
  • Posts: 412
  • Joined: 19-December 07

Re: how to print JSP to pdf format?

Posted 19 July 2008 - 09:09 AM

Wah... I a bit complicated...

But I try my best to try it...

Anyway thank lordms12
Was This Post Helpful? 0
  • +
  • -

#6 blake11  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 63
  • Joined: 20-February 08

Re: how to print JSP to pdf format?

Posted 19 July 2008 - 09:34 AM

You should look into iText.
iText library

This post has been edited by blake11: 19 July 2008 - 09:36 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1