Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing Downloading

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic