• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

open file  RSS feed

Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have to do a file upload and download in my project.

I am using t:inputFileUpload to upload file. Code follows :

What I am trying to do is, the moment I selected the file ,the image will render and the when the user clicks on the link (see the image is inside a command link) the file selected will open. User can attach any type of file .

mybean :

I am stuck with this. The file is not opening. I can get printed statements only upto contentlength(in the method). Could anyone please help me to find out where am going wrong ?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!