If you are calling it though a servlet I believe you will still need the set the MIME type in the HttpResponse object with a call like

response.setContentType("text/html");

I am not sure how you would do it for a JSP page. Unless you just went for the inelegant option of

<%  response.setContentType("text/html");   %>

You would clearly need to replace "text/html" with the MIME type you set up already.


[EMAIL PROTECTED] wrote:
Hello,

I have added a mimetype for the crt-extension to the
$CATALINA_HOME/conf/web.xml-file. I have a file with this extension in the
ROOT-webapp-directory. The ROOT-webapp has no web.xml-file. I also restarted
tomcat. However, when I open the crt-file, it is still presented as a
text-file. Any idea why this is? Am I doing something wrong? Do I need to do
additional steps? I'm using tomcat 5.5.9.

greetings and thanks,

Michel Brabants



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Brian Cook
Digital Services Analyst
Print Time Inc.
[EMAIL PROTECTED]
913.345.8900

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to