Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

downloading file in JSF  RSS feed

 
Venkat Kanneganti
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My requirement is that i need to download csv file .I tried by setting response header with all available ContentTypes but this is not working its directly showing the content of file in the browser it self.
can any one help?
Thanks in Advance
Regards
Venkat
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Did you try setting the response in the following way


Thanks,
Ketan
 
Venkat Kanneganti
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
ThankYou for your Response.already i tried those ways,but i didnot get what i want,apart from them can you give me any suggestions.
Thanks in Advance
Regards
Venkat.
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you paste your code here ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!