DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32473>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32473

           Summary: Mime type not set correctly for welcome files
           Product: Tomcat 5
           Version: 5.5.3
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a web app with the following configuration:

   <mime-mapping>
       <extension>xhtml</extension>
       <mime-type>application/xhtml+xml</mime-type>
   </mime-mapping>

   <welcome-file-list>
       <welcome-file>index.xhtml</welcome-file>
   </welcome-file-list>

When I request http://myserver/index.xhtml I receive the XHTML web page
normally. However, if I request http://myserver/ I receive the file without the
correct mime-type set, which opens an Open with/Save as... dialog in the 
browser.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to