Uh, mime-type doesn't have anything to do with a file extension. If I have a tiff image it doesn't matter what the extension is, it's still a tiff file. Determining mime-type based based on file extensions is a windows stupidism. Now, I'll admit there are certian conventions, but you can't 100% count on them.
--mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Hostmaster of the day [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 8:25 AM > To: [EMAIL PROTECTED] > Subject: RE: Mime-Type > > > Ladies and Gentleman, > > .jsp (e.g. index.jsp) is indeed a MIME type. > > Apache will know this MIME type by the following > code if you are using mod_jk as module: > > JkMount /*.jsp ajp13 > > --Dave > > > > > > > Howdy, > > Typically, text/html as that's what the browser sees. > > > > However, in a JSP (since it's really a servlet), you can set the > > response content type to whatever you want, e.g. gzip or > > application/ms-excel. > > > > Yoav Shapira > > Millennium ChemInformatics > > > > > > >-----Original Message----- > > >From: Anthony Smith [mailto:[EMAIL PROTECTED] > > >Sent: Monday, March 03, 2003 10:36 AM > > >To: Tomcat Users List > > >Subject: Mime-Type > > > > > >I did not know where ask to else this question. > > > > > >Is there a mime-type for a jsp? If so, what is it? > > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, > proprietary and/or privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not be saved, copied, > printed, disclosed or used by anyone else. If you are not the(an) > intended recipient, please immediately delete this e-mail from your > computer system and notify the sender. Thank you. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]