Save web page as pageName.doc

2009-06-25 Thread Jim Collings
This still isn't working. In theory, if I set the meta data as below: This should explicitly tell the browser what to call the file but the file name still comes out as action-name. Does anyone have any ideas as to how I can prevent this? Perhaps if I move the "downloadable-report.jsp" file

Re: Save web page as pageName.doc

2009-06-09 Thread Wes Wannemacher
Yeah windoze still honors extension, but they have added the ability to make multiple associations. However, if memory serves, IE honors content-type. So if set it to application/msword or whatever it should try to launch a word doc viewer. I noticed an example of "the wrong way" recently while dow

Re: Save web page as pageName.doc

2009-06-09 Thread Dave Newton
Jim Kiley wrote: That surprises me, since I had always assumed that Windows based the application of choice on the file extension. I wonder what other guidance is being used. Content-type? AFAIK it's extension in both XP and Vista. Can't check the XP machine now, but my Vista machine configu

Re: Save web page as pageName.doc

2009-06-09 Thread Jim Kiley
On Tue, Jun 9, 2009 at 6:25 PM, Dave Newton wrote: > Jim Kiley wrote: > >> Just for fun I just tried it -- made a trivial HTML file, named it >> "foo.doc," and double-clicked, and it did open in Word. Properly >> formatted >> and so on too. Word is happy to open HTML files. It loves you and it

Re: Save web page as pageName.doc

2009-06-09 Thread Dave Newton
Jim Kiley wrote: Just for fun I just tried it -- made a trivial HTML file, named it "foo.doc," and double-clicked, and it did open in Word. Properly formatted and so on too. Word is happy to open HTML files. It loves you and it wants you to be happy. On *your* machine, perhaps. On all my Win

Re: Save web page as pageName.doc

2009-06-09 Thread Jim Kiley
On Tue, Jun 9, 2009 at 4:31 PM, Dave Newton wrote: > Jim Collings wrote: > >> It's a report and the requirement I'm trying to satisfy is that you >> have to be able to save it as a MS Word *.doc file. What I've >> discovered is that you can take a stand-alone html file (i.e. no >> external files

Re: Save web page as pageName.doc

2009-06-09 Thread Dave Newton
Jim Collings wrote: It's a report and the requirement I'm trying to satisfy is that you have to be able to save it as a MS Word *.doc file. What I've discovered is that you can take a stand-alone html file (i.e. no external files like images or CSS etc. ) change the file extension from *.html to

Save web page as pageName.doc

2009-06-09 Thread Jim Collings
It's a report and the requirement I'm trying to satisfy is that you have to be able to save it as a MS Word *.doc file. What I've discovered is that you can take a stand-alone html file (i.e. no external files like images or CSS etc. ) change the file extension from *.html to *.doc and double click