This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Files of XML type (XML, XSL, XSLT, XSD, XDR, etc.), must be supplied by the server as mime-type 'text/xml'.
Squeezed config files don't contain definition of common mime types. Workaround is to add them again into conf/web.xml or directly to web.xml from your application. Milan, are you going to fix this for our bundled Tomcat?
I've already tried to add those mime-type definitions to the user's conf/web.xml (or to the project's web.xml) and the same result as before - it seems that the mime-type definitions (at least) are hardcoded somewhere...
The issue originated from Tomcat was fixed. Tomcat5 now accepts mime-types specified either in default conf/web.xml or in specific web application deployment descriptor. The XML and XSL extensions are mapped defaultly in conf/web.xml. Other extensions mentioned in the issue need to be mapped manually for Tomcat5 in order to be recognized by the server.
VERIFIED