2002/css-validator web.xml,1.1,1.2

Update of /sources/public/2002/css-validator
In directory hutz:/tmp/cvs-serv15527

Modified Files:
	web.xml 
Log Message:
hack to force tomcat to recognize our localized html files

Index: web.xml
===================================================================
RCS file: /sources/public/2002/css-validator/web.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- web.xml	30 May 2004 19:52:55 -0000	1.1
+++ web.xml	15 Jan 2007 00:52:23 -0000	1.2
@@ -14,5 +14,47 @@
        <servlet-name>validator</servlet-name>
        <url-pattern>/validator</url-pattern>
    </servlet-mapping>
+
+
+<!-- ===================== Additional MIME Type Mappings =================== -->
+<!-- tomcat does not know language file extensions, we have to force them    -->
+<!-- to properly be recognized as being html files...                        -->  
+
+    <mime-mapping>                                                          
+        <extension>en</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>de</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>fr</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>es</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>it</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>nl</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>ja</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>pl-PL</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+    <mime-mapping>                                                          
+        <extension>zh-cn</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
    
 </web-app>

Received on Monday, 15 January 2007 00:52:36 UTC