Hi!
I am trying set the content type using contentType="application/..." to get my output in that format.
I successed in getting details as excel with "application/vnd.ms-excel".
but not able to get for word, pdf. I tried with "application/pdf", but it is not working. I tested it with Tomcat and JRun3.01 both.
Help me if anybody have idea.
thanks in advance..
Gopi Krishna Aitham
-
problem with set content type (1 messages)
- Posted by: gopi krishna
- Posted on: July 27 2001 11:15 EDT
Threaded Messages (1)
- problem with set content type by Rick Grashel on July 27 2001 15:52 EDT
-
problem with set content type[ Go to top ]
- Posted by: Rick Grashel
- Posted on: July 27 2001 15:52 EDT
- in response to gopi krishna
Gopi,
Internet Explorer is actually great about automatically opening files of MIME types that it knows about. However, Netscape tends to be a real pain in the ass... and will not open these files automatically.
You will need to add the MIME type(s) to your web server's MIME configuration file in order to have them downloaded and opened. The name of this configuration file is different for each web server. Check your documentation for details.
Regards,
Rick