• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Download a content in a dynamic web application - help needed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Currently, I am working in a corporate banking project which involves the use of JSF, Spring WebFlow and some AJAX

Now I need to have a code which enables the user to download the content whatever he clicks to view on the screen

For example, he would have selected Account Settings or Credit Card settings etc.,

The thing is that I need to download it dynamically on the screen if clicked "Download"

All I want is to use a reusable code for downloading as this involves many layers and huge amount of pages to download for

Please help me

Thanks
Ram
 
Saloon Keeper
Posts: 28654
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry. We can help you develop code, but we are not a free software development service. The actual code is something you'll have to develop and research yourself.
 
Ganapathy Ram
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Tim Holloway

I never asked you a code. I said I wanted someone to guide me to develop a resuable code to have it.
Now I have found it out. It is itext jar

By the way, I am overwhelmed by your free response

Thanks
Ganapathy Ram
 
Tim Holloway
Saloon Keeper
Posts: 28654
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problem. I think it was just language translation difficulties. If we seem a little sensitive about providing code it comes from cases where people who didn't really know anything about Java got hired as cheap labour and expected us to provide even cheaper (free) labour to do their jobs for them. As long as I can't have free groceries, I can't afford to do much free programming work. Especially since the monsoons are off to an early start this year where I live and I'll be buying a new roof soon.

Since itext gave you what you wanted, I guess that means you needed to be able to produce PDF outputs. Itext is good for that. I also have used fop with Spring. It allows you to prototype PDF reports in XML form instead of Java code.

A common mistake that a lot of people make is that they try to use JSF to output PDFs. JSF is not designed to do that. It wants to output ordinary HTML. You should be able to use Spring WebFlow to do the PDF output, though. We have a very good Spring Forum if you need help.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic