users@javaserverfaces.java.net

Re: Is it possible to use a JSF page as an error page?

From: Jon Miller <jemiller_at_uchicago.edu>
Date: Mon, 12 Mar 2007 15:19:02 -0500

Yup, I added the following to my error page and now it works with IE.

    <jsp:scriptlet>
        response.setStatus(200);
    </jsp:scriptlet>

Jon

----- Original Message -----
From: "Jon Miller" <jemiller_at_uchicago.edu>
To: <users_at_javaserverfaces.dev.java.net>
Sent: Monday, March 12, 2007 3:14 PM
Subject: Re: Is it possible to use a JSF page as an error page?


>I just realized that custom error pages don't seem to work even with a
>.jspx with IE. I tried it with both IE 6 and 7. It works fine with Firefox.
>My current guess is that Tomcat is still returning a 500 and IE just
>displays the default page for that error. This is different than the
>problem that I had when trying to use a JSF page as an error page.
>
> Jon
>
> ----- Original Message -----
> From: "Jon Miller" <jemiller_at_uchicago.edu>
> To: "JavaServer Faces Users List" <users_at_javaserverfaces.dev.java.net>
> Sent: Monday, March 12, 2007 2:28 PM
> Subject: Is it possible to use a JSF page as an error page?
>
>
>> Hi all,
>>
>> Does anyone know if it's possible to use a JSF page as an error page? I'm
>> having some problems getting it to work. It seems to work fine if it's
>> just a JSP.
>>
>> Jon
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
>> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>