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