wood burning stoves 2.0*
The moose likes JSF and the fly likes Download a content in a dynamic web application - help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Download a content in a dynamic web application - help needed" Watch "Download a content in a dynamic web application - help needed" New topic
Author

Download a content in a dynamic web application - help needed

Ganapathy Ram
Greenhorn

Joined: May 16, 2012
Posts: 2
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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ganapathy Ram
Greenhorn

Joined: May 16, 2012
Posts: 2
@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

Joined: Jun 25, 2001
Posts: 15952
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Download a content in a dynamic web application - help needed
 
Similar Threads
Track download completion
Downloading file from server
Electronic filing and retriveal System for mails,documents,faxex etc
Electronic Filing System With Java
how to insert symbols