struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schyman <>
Subject SV: set ContentType to application/msword
Date Thu, 03 Oct 2002 14:02:36 GMT
How are you setting it in the jsp?

Using <meta http-equiv="Content-Type"...>?

Try using <%@ page contentType="application/msword" %> instead. That works
for me (with a different ContentType since I'm creating excel-data).

-----Ursprungligt meddelande-----
Från: Billy Ng [] 
Skickat: den 3 oktober 2002 16:00
Till: Struts Users Mailing List
Ämne: set ContentType to application/msword

I am trying to let user to open the HTML with MS Word.  I changed the
content type to ContentType="application/msword" in the jsp, but it still
did not bring up the Word.  Does Struts set the content type to "text/html"


Billy Ng

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message