MySQL Forums
Forum List  »  Microsoft SQL Server

Re: Retreiving MS-office documents from MySql
Posted by: Josh Chamas
Date: November 17, 2004 02:19AM

Lasse Norgreen wrote:
> From my Web application using Java/JSP/Servlets I
> want to do the following:
> I have stored an MS-Word document in a Blob field
> in MySql. Now I want to retreive this document
> from the database and open it in MS-Word on the
> client. I also want to open other MS-office
> documents in the corresponding tool (Excel,
> Powerpoint, etc.).
>
> Is this possible? If so, how do I do it?

You should be able to set the content-type HTTP header such
that applications know what to do with it. For word docs for example,
you can use:

application/msword

You might try to call your URL with a .doc extension too to help
fool the browser into doing the right thing.

Regards,

Josh

Josh Chamas
Director, Professional Services
MySQL Inc., www.mysql.com
Get More with MySQL! http://www.mysql.com/consulting

Options: ReplyQuote


Subject
Written By
Posted
Re: Retreiving MS-office documents from MySql
November 17, 2004 02:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.