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 downloading a spreadsheet. Content type and file extension were both set for excel, but the file was a csv. Excel launched though, but warned me that it really wasn't an xls file. I would think a similar problem will crop up later if you use html to create a word doc. My suggestion is to create and use rtf or docx. Both are text based so u should be able to do it with little effort and you don't run the risk of looking like you are propagating a virus.
Wes On 6/9/09, Dave Newton <newton.d...@yahoo.com> wrote: > 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 configures this via Control Panel -> Default > Programs; .htm and .html are configured for Firefox, and were IE before > I installed FF. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org