No,
I was suggesting that you use the Tomcat 4 web.xml as an example of how to
set a mime-type in your own app's web.xml.
Here is a sample mime-mapping that you can put near the bottom of your own
web.xml in [myapp]/WEB-INF:
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
I actually have to set that in my web.xml when my app runs under
Tomcat-3.3.x because it returns .css files in text/plain which makes it so
that Mozilla, in strict parsing mode, ignores the css. Adding the
<mime-mapping> to my own app's web.xml fixes it.
Jake
At 10:23 AM 6/26/2002 +0800, you wrote:
>That's why I wonder there is no conf/web.xml in tomcat3.3. I also
>wonder where to set the mime-type in tomcat3.3. I can find conf/web.xml
>in tomcat4.x.x. Do you mean I just copy it to conf/web.xml in tomcat3.3
>and it should work? I am using tomcat3.3.
>
>unplug
>
>Jacob Kjome wrote:
> >
> > Part 1.1Type: Plain Text (text/plain)
>Check out the Tomcat 4.x.x conf/web.xml. You can use that format and
>that
>ordering and apply it to your own app's web.xml. I don't think that
>Tomcat
>3.3.x uses a conf/web.xml.
>
>Also, take a look at the dtd by downloading it. It specifies the tag
>order. Use the URI in your dtd declaration of your web.xml file and
>load
>that in any browser to download it.
>
>Jake
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>