Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open a word document using JSP

 
swapan sundoja
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to open a word document using JSP.
what i want to do is :-
i have link of a word document. But when i click on that it opens the document in a corrupted format.
what to do ?
Thanks in advance!
Swapan
 
namita pa
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
change the contenttype in jsp to "multipart/mixed" instead of "html/text" hope it would work fine
thanks
namita

------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic