Remember to set the appropriate mime type for javascript (text/javascript)
and css (text/css) files too.

> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 4:45 PM
> To: 'Tomcat Users List'
> Subject: RE: Mime-Type
> 
> 
> 
> JSPs are never served to a browser as JSP.  They generate 
> output.  That
> output has the appropriate MIME type, such as "text/html" for typical
> scenarios.  Other MIME types used are image MIME types and 
> MIME types for
> things like spreadsheets, word processors, and other external 
> applications.
> If JSP source code is served to a browser with the intention 
> of displaying
> the JSP code, such as in a tutorial or HOWTO document, the 
> MIME type would
> typically be standard text.
> 
> John
> 
> > -----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]
> > 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to