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.

Bug 29745 - XML files have no content-type
Summary: XML files have no content-type
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL: n/a
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-30 04:50 UTC by bmf1972
Modified: 2006-02-28 11:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bmf1972 2002-12-30 04:50:56 UTC
Files of XML type (XML, XSL, XSLT, XSD, XDR, etc.),
must be supplied by the server as mime-type
'text/xml'.
Comment 1 _ rkubacki 2003-01-02 07:54:57 UTC
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?
Comment 2 bmf1972 2003-01-02 12:41:00 UTC
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...
Comment 3 Milan Kuchtiak 2004-02-06 10:44:33 UTC
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.
Comment 4 Jaroslav Pospisil 2006-02-28 11:27:50 UTC
VERIFIED