This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes open a word document using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "open a word document using JSP" Watch "open a word document using JSP" New topic
Author

open a word document using JSP

swapan sundoja
Greenhorn

Joined: Sep 18, 2001
Posts: 1
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

Joined: Sep 06, 2001
Posts: 56
hi
change the contenttype in jsp to "multipart/mixed" instead of "html/text" hope it would work fine
thanks
namita

------------------
 
GeeCON Prague 2014
 
subject: open a word document using JSP