• Post Reply Bookmark Topic Watch Topic
  • New Topic

download file via jsp

 
ashish verma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a java code that generate file with xls extension and my code is running on a solaris. I also have a jsp to download this file. When i try to download this file through jsp that file get open in the browser and shows junk chars. When my code is runing on a windows, i got a downloadable popup to download this file but in the case of solaris this is not happening.

Help me to sort out this problem
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
410
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashish,
Are you setting the MIME content type?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!