Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating pdf on client side

 
chets patel
Ranch Hand
Posts: 77
Eclipse IDE Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have web application in which I am using spring faces. When I click on the link, it should retrive some information from the server and generate the pdf on client side.


Can any one help me on this.
Thanks in advance
 
nishit charania
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

why you need to generate pdf on client side....
For server side you can do using reporting tool like jasper report, pentaho report etc.
Or you can use itext api for generating pdf but this not give you any editor so this would be difficult to do.

Thanks,
nishitC
 
chets patel
Ranch Hand
Posts: 77
Eclipse IDE Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have generated pdf using itext. But that is on stand alone system. How can I send that to client machine. I can not set the content type to pdf as I dont have access to response object. No idea how to use jasper report.
Please suggest
 
nishit charania
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont have access to response object


I am not getting why you do not have access to response object.
Give snapshot of your code if possible or just create dummy project and put it.
So I can able to understand your scenario and try to resolve your problem.

Jasper report is a just a tool that helps to generate pdf. no need to go for that now if you did your task using itext.

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic