Re: T5 ignoring mime mapping

2004-08-18 Thread Andrew Shirk
As I stated, I used the jsp:directive syntax. You'd think the spec would be 
a little more clear about this. It's pretty easy to miss that brief 
sentence while scanning for answers...

Thanks for the help.
Andrew
At 09:53 PM 8/17/2004, you wrote:
JSPs don't use the mime-mappings from web.xml (per the JSP spec).  You have
to use the  syntax.
"Andrew Shirk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is pretty much a stock T5 install. No filters are configured for this
> app. So if it is indeed a servlet, it must be the faces servlet or the jsp
> servlet that is applying the text/xml mime type. However, as a work
around,
> I am able to use a jsp directive to set the mime type from the document:
>
> 
>
> This seems silly though since I'm already setting the mime type in
web.xml.
>
> Andrew
>
> At 11:08 AM 8/17/2004, you wrote:
> >It sounds like there is another servlet/filter/?? setting the content
type
> >to text/xml.
> >
> >-Tim
> >
> >Andrew Shirk wrote:
> >
> >>Despite having set a mime mapping for the .faces extension in my
web.xml,
> >>Tomcat 5 still insists on returning a JSP 2 documents with the .faces
> >>extension as text/xml.
> >>Am I doing something wrong?
> >>
> >>   faces
> >>   text/html
> >>
> >
> >-
> >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]


Re: T5 ignoring mime mapping

2004-08-17 Thread Bill Barker
JSPs don't use the mime-mappings from web.xml (per the JSP spec).  You have
to use the  syntax.

"Andrew Shirk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is pretty much a stock T5 install. No filters are configured for this
> app. So if it is indeed a servlet, it must be the faces servlet or the jsp
> servlet that is applying the text/xml mime type. However, as a work
around,
> I am able to use a jsp directive to set the mime type from the document:
>
> 
>
> This seems silly though since I'm already setting the mime type in
web.xml.
>
> Andrew
>
> At 11:08 AM 8/17/2004, you wrote:
> >It sounds like there is another servlet/filter/?? setting the content
type
> >to text/xml.
> >
> >-Tim
> >
> >Andrew Shirk wrote:
> >
> >>Despite having set a mime mapping for the .faces extension in my
web.xml,
> >>Tomcat 5 still insists on returning a JSP 2 documents with the .faces
> >>extension as text/xml.
> >>Am I doing something wrong?
> >>
> >>   faces
> >>   text/html
> >>
> >
> >-
> >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]



Re: T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
This is pretty much a stock T5 install. No filters are configured for this 
app. So if it is indeed a servlet, it must be the faces servlet or the jsp 
servlet that is applying the text/xml mime type. However, as a work around, 
I am able to use a jsp directive to set the mime type from the document:


This seems silly though since I'm already setting the mime type in web.xml.
Andrew
At 11:08 AM 8/17/2004, you wrote:
It sounds like there is another servlet/filter/?? setting the content type 
to text/xml.

-Tim
Andrew Shirk wrote:
Despite having set a mime mapping for the .faces extension in my web.xml, 
Tomcat 5 still insists on returning a JSP 2 documents with the .faces 
extension as text/xml.
Am I doing something wrong?

  faces
  text/html

-
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]


Re: T5 ignoring mime mapping

2004-08-17 Thread Tim Funk
It sounds like there is another servlet/filter/?? setting the content type to 
text/xml.

-Tim
Andrew Shirk wrote:
Despite having set a mime mapping for the .faces extension in my 
web.xml, Tomcat 5 still insists on returning a JSP 2 documents with the 
.faces extension as text/xml.

Am I doing something wrong?

  faces
  text/html

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


T5 ignoring mime mapping

2004-08-17 Thread Andrew Shirk
Despite having set a mime mapping for the .faces extension in my web.xml, 
Tomcat 5 still insists on returning a JSP 2 documents with the .faces 
extension as text/xml.

Am I doing something wrong?

  faces
  text/html

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