• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Generating pdf on client side

 
Ranch Hand
Posts: 77
Eclipse IDE Tomcat Server Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic