Home » Eclipse Projects » JavaServer Faces » Firefox working, but not with IE
Firefox working, but not with IE [message #474184] |
Tue, 15 May 2007 05:39  |
Eclipse User |
|
|
|
My JSF application, a war packed with WTP and applied to JBoss
jboss-4.2.0.CR2 (i tried v4.0.5, too), does well work when viewed with
Firefox. However when viewed in Internet Explorer, the ".faces" files
entered in the address bar seem to be not processed by the JSP or JSF
processor, instead I get the pure contents from the mapped ".jsp" file,
displayed as XML in the IE window.
(I have deployed the Web application locally and e.g. access
http://localhost:8080/login.faces. I have Windows XP).
Any idea?
|
|
|
Re: Firefox working, but not with IE [message #474185 is a reply to message #474184] |
Tue, 15 May 2007 16:56   |
Eclipse User |
|
|
|
Hi John,
Could you try the same test but with no JSF in the application? That is,
can you try creating a similar simple application that is just using JSPs
with no JSF? This will help us isolate whether this is a general problem
or one specific to JSF.
Thanks,
Cameron
John Smith wrote:
> My JSF application, a war packed with WTP and applied to JBoss
> jboss-4.2.0.CR2 (i tried v4.0.5, too), does well work when viewed with
> Firefox. However when viewed in Internet Explorer, the ".faces" files
> entered in the address bar seem to be not processed by the JSP or JSF
> processor, instead I get the pure contents from the mapped ".jsp" file,
> displayed as XML in the IE window.
> (I have deployed the Web application locally and e.g. access
> http://localhost:8080/login.faces. I have Windows XP).
> Any idea?
|
|
|
Re: Firefox working, but not with IE [message #474642 is a reply to message #474185] |
Mon, 18 June 2007 09:37   |
Eclipse User |
|
|
|
Cameron Bateman wrote:
> Hi John,
>
> Could you try the same test but with no JSF in the application? That
> is, can you try creating a similar simple application that is just using
> JSPs with no JSF? This will help us isolate whether this is a general
> problem or one specific to JSF.
>
>
> Thanks,
>
> Cameron
>
> John Smith wrote:
>
>> My JSF application, a war packed with WTP and applied to JBoss
>> jboss-4.2.0.CR2 (i tried v4.0.5, too), does well work when viewed with
>> Firefox. However when viewed in Internet Explorer, the ".faces" files
>> entered in the address bar seem to be not processed by the JSP or JSF
>> processor, instead I get the pure contents from the mapped ".jsp"
>> file, displayed as XML in the IE window.
>> (I have deployed the Web application locally and e.g. access
>> http://localhost:8080/login.faces. I have Windows XP).
>
>> Any idea?
>
I figured out that using .jsf as files extension and not .faces in the
url (with changing the url-pattern in web.xml from *.faces to *.jsf,
too) solved the problem! The only question now is: WHY??
In the not-working case at Internet Explorer , Internet Explorer still
displays the correct HTML as I view the page source, but in the Browser
its not interpreted as HTML but as XML. So why is it interpreted as HTML
by IE when I use .jsf instead of .faces? Is there a fix list of
allowed extensions build into Internet Explorer ? (I would not wonder if
this is the case..)
Thanks
|
|
| |
Re: Firefox working, but not with IE [message #610960 is a reply to message #474184] |
Tue, 15 May 2007 16:56  |
Eclipse User |
|
|
|
Hi John,
Could you try the same test but with no JSF in the application? That is,
can you try creating a similar simple application that is just using JSPs
with no JSF? This will help us isolate whether this is a general problem
or one specific to JSF.
Thanks,
Cameron
John Smith wrote:
> My JSF application, a war packed with WTP and applied to JBoss
> jboss-4.2.0.CR2 (i tried v4.0.5, too), does well work when viewed with
> Firefox. However when viewed in Internet Explorer, the ".faces" files
> entered in the address bar seem to be not processed by the JSP or JSF
> processor, instead I get the pure contents from the mapped ".jsp" file,
> displayed as XML in the IE window.
> (I have deployed the Web application locally and e.g. access
> http://localhost:8080/login.faces I have Windows XP).
> Any idea?
|
|
|
Re: Firefox working, but not with IE [message #612060 is a reply to message #474185] |
Mon, 18 June 2007 09:37  |
Eclipse User |
|
|
|
Cameron Bateman wrote:
> Hi John,
>
> Could you try the same test but with no JSF in the application? That
> is, can you try creating a similar simple application that is just using
> JSPs with no JSF? This will help us isolate whether this is a general
> problem or one specific to JSF.
>
>
> Thanks,
>
> Cameron
>
> John Smith wrote:
>
>> My JSF application, a war packed with WTP and applied to JBoss
>> jboss-4.2.0.CR2 (i tried v4.0.5, too), does well work when viewed with
>> Firefox. However when viewed in Internet Explorer, the ".faces" files
>> entered in the address bar seem to be not processed by the JSP or JSF
>> processor, instead I get the pure contents from the mapped ".jsp"
>> file, displayed as XML in the IE window.
>> (I have deployed the Web application locally and e.g. access
>> http://localhost:8080/login.faces I have Windows XP).
>
>> Any idea?
>
I figured out that using .jsf as files extension and not .faces in the
url (with changing the url-pattern in web.xml from *.faces to *.jsf,
too) solved the problem! The only question now is: WHY??
In the not-working case at Internet Explorer , Internet Explorer still
displays the correct HTML as I view the page source, but in the Browser
its not interpreted as HTML but as XML. So why is it interpreted as HTML
by IE when I use .jsf instead of .faces? Is there a fix list of
allowed extensions build into Internet Explorer ? (I would not wonder if
this is the case..)
Thanks
|
|
| |
Goto Forum:
Current Time: Wed Jul 23 02:12:44 EDT 2025
Powered by FUDForum. Page generated in 0.33028 seconds
|