File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Implementing Downloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Implementing Downloading" Watch "Implementing Downloading" New topic
Author

Implementing Downloading

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I hope to have a link that when a user clicks , a download dialog appears that allows a person to download a word document, Please has anyone accomplished this before
Jason Lee
Greenhorn

Joined: Mar 03, 2008
Posts: 12
Both my project, Mojarra Scales (https://scales.dev.java.net), and Ajax4Jsf has something like that, if I understand you correctly. They are sc:download and a4j:mediaOutput respectively.


Jason Lee, SCJP
Senior Member of Technical Staff with Oracle
http://blogs.steeplesoft.com
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Originally posted by Jason Lee:
Both my project, Mojarra Scales (https://scales.dev.java.net), and Ajax4Jsf has something like that, if I understand you correctly. They are sc:download and a4j:mediaOutput respectively.


Thanks for the reply , I tried using your components but when starting the application server i always get this error

java.lang.NoClassDefFoundError: com/sun/jsftemplating/component/TemplateOutputComponentBase

I have tried searching around for this file to no avail i have even gone to the jsftemplating site, please can you tell me which jar file contains this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing Downloading
 
Similar Threads
JDK 1.5 - How can I get
Upgrading JDK version
java
I want to leanr JSp/Servlet. help me.
Tech Word Game