Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue in opening an excel file through bean

 
Soheb Shaikh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSF and in one of the managed bean (view scope) i have a method as:



The excel which is getting retrieved is corrupted file. It has some strange characters above and below is the entire code of JSP. I even tried application/octet-stream for contenttype too.

I tried the same with a plain text file and i was able to open it through.

Please help me with this problem, Thanks in advance.
 
Soheb Shaikh
Greenhorn
Posts: 2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic