[jetty-dev] [jira] (JETTY-1506) error-page ignored

"Nils (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <99135626.62454.1333628583323.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
    [ https://jira.codehaus.org/browse/JETTY-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295903#comment-295903 ] 

Nils commented on JETTY-1506:
-----------------------------

No, you misunderstand. My normal servlet fails. I've set the error page to /error, which is matched by another servlet that does a request dispatch forward to a static page. This forwarder does not fail.

I've done forwarding to the static page to retain the URL in the browser.

I should mention that there's also a filter involved in the call stack, but that shouldn't matter.
                
> error-page ignored
> ------------------
>
>                 Key: JETTY-1506
>                 URL: https://jira.codehaus.org/browse/JETTY-1506
>             Project: Jetty
>          Issue Type: Bug
>          Components: Hightide, Servlet
>    Affects Versions: 8.1.2
>         Environment: Linux
>            Reporter: Nils
>
> I have webdefault.xml defined to include an error-page, like this:
> 	<error-page>
> 		<location>/error</location>
> 	</error-page>
> I have also tried this:
> 	<error-page>
> 		<error-code>500</error-code>
> 		<location>/error</location>
> 	</error-page>
> and this:
> 	<error-page>
> 		<exception-type>java.lang.Throwable</exception-type>
> 		<location>/error</location>
> 	</error-page>
> In all three cases, the exception stack trace is displayed in all its beauty, but not exactly what I'm looking for.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.