Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp to pdf format  RSS feed

 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends
i need a help for u. how to convert jsp page to a PDF format ? how is the easiest and good performance way ?
The requirement is to provide a button in the Jsp page, clicking which,
the user can view pdf format of that jsp. how to do this ? pls anyone can reply in briefly.

thanks a lot.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saravana,
You can look at a library like iText. You still need to build the PDF yourself though. I don't think there can be a completely generic way to convert the JSP though. The HTML code was already sent to the client, so the server no longer knows about it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!