• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Downloading powerpoint doc

 
kasyaparushi kiran
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to download a powerpoint file.but the content type is throwing an exception.

please find the details

Caused by: java.lang.IllegalArgumentException:

renderResponse.setContentType("application/vnd.ms-powerpoint");

I have tried with application/ms-powerpoint,application/ppt,application/powerpoint

It is throwing illegalargument exception.

Please suggest a solution

Thanks,
K.Kiran Kumar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic