Re: Exporting an image from JSP to MS Word

2006-03-06 Thread Dave Newton
Anjishnu Bandyopadhyay wrote: > I am generating a MS Word document through JSP, by setting the JSP's > content type as "application/msword;". > As I said, you are _not_ "generating an MS Word document" merely by setting the JSP's content type. An MS Word document is a proprietary (but fairly

Exporting an image from JSP to MS Word

2006-03-05 Thread Anjishnu Bandyopadhyay
Hi all, I had posted the same mail a few days ago, but didn't get a proper solution. I am generating a MS Word document through JSP, by setting the JSP's content type as "application/msword;". In the Word document, I want to display an image. But, I am not being able to export that image

RE: Exporting an image from JSP to MS Word

2006-03-02 Thread Anjishnu Bandyopadhyay
Hi Dave, Thanks a lot. I will have a look at it. With best regards, Anjishnu. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 3:19 AM To: Struts Users Mailing List Subject: Re: Exporting an image from JSP to MS Word Anjishnu Bandyopadhyay

Re: Exporting an image from JSP to MS Word

2006-03-02 Thread Dave Newton
Anjishnu Bandyopadhyay wrote: > But, it doesn't work in that way. Is there any other way? > Yes; generate a Word document. Simple calling a JSP a Word document doesn't make it one; a Word document is a proprietary file format. You might want to look at Poi, although I don't know if it will sui

Exporting an image from JSP to MS Word

2006-03-02 Thread Anjishnu Bandyopadhyay
Hi all, I am generating a MS Word document through JSP, by setting the JSP's content type as "application/msword;". In the Word document, I want to display an image. But, I am not being able to export that image. I have tried giving the complete context path, and, the relative path; as the