Details
Description
-
Hide
- Test_ErrorPage.zip
- 151 kB
- Michael Thiem
-
- Test_ErrorPage/.classpath 0.5 kB
- Test_ErrorPage/.mymetadata 0.3 kB
- Test_ErrorPage/.project 1 kB
- Test_ErrorPage/src/test/Bean.java 0.2 kB
- Test_ErrorPage/WebRoot/exception.jspx 0.9 kB
- Test_ErrorPage/WebRoot/index.jsp 0.0 kB
- Test_ErrorPage/WebRoot/main.jspx 0.9 kB
- Test_ErrorPage/WebRoot/.../MANIFEST.MF 0.0 kB
- Test_ErrorPage/WebRoot/nullpointer.html 0.3 kB
- Test_ErrorPage/WebRoot/nullpointer.jspx 0.8 kB
- Test_ErrorPage/WebRoot/.../.faces-config.mex 0.1 kB
- Test_ErrorPage/WebRoot/.../test/Bean.class 0.6 kB
- Test_ErrorPage/WebRoot/.../faces-config.xml 0.4 kB
- Test_ErrorPage/WebRoot/.../html_basic.tld 244 kB
- Test_ErrorPage/WebRoot/.../jsf_core.tld 25 kB
- Test_ErrorPage/WebRoot/WEB-INF/web.xml 3 kB
- Test_ErrorPage/WebRoot/.../add.gif 0.1 kB
- Test_ErrorPage/WebRoot/.../arrow-ff-dis.gif 0.9 kB
- Test_ErrorPage/WebRoot/.../arrow-ff.gif 0.2 kB
- Test_ErrorPage/.../arrow-first-dis.gif 0.1 kB
- Test_ErrorPage/WebRoot/.../arrow-first.gif 0.2 kB
- Test_ErrorPage/WebRoot/.../arrow-fr.gif 0.3 kB
- Test_ErrorPage/.../arrow-last-dis.gif 0.9 kB
- Test_ErrorPage/WebRoot/.../arrow-last.gif 0.3 kB
- Test_ErrorPage/.../arrow-next-dis.gif 0.9 kB
- Test_ErrorPage/WebRoot/.../arrow-next.gif 0.2 kB
- Test_ErrorPage/.../arrow-previous-dis.gif 0.9 kB
- Test_ErrorPage/.../arrow-previous.gif 0.2 kB
- Test_ErrorPage/WebRoot/.../arrow-rw-dis.gif 0.1 kB
- Test_ErrorPage/.../cal_arrow_left.gif 0.2 kB
-
- Test_ExceptionHandling.zip
- 232 kB
- Philip Breau
Issue Links
- blocks
-
ICE-2990 Seam exception redirecting not working with ICEFaces
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Hi,
Please read this topic: http://www.icefaces.org/JForum/posts/list/7986.page
This issue seems not be entirely fixed.
In some case redirection is working. In other case, we get tomcat error page.
regards,
Redirection seems not working in the last svn 16659.
I must do refresh on my navigator for the redirection.
Created new Jira ICE-3029 for Internal Server Error when using any of the exception handling scenarios.
Created new Jira (ICE-3028) for case where error handling jsp page is redirecting to another jspx.
Following scenarios have been successfully verified on revision# 16533
1) use jspx
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jspx</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.jspx</location>
</error-page>
2) use html page
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.html</location>
</error-page>
Fix how 'body' element is updated.
tried a few different scenarios:
- defining jsp that sends a redirect to an ICEfaces page -
result: excpetion not handled
- defining an html page directly
result: html page comes through the server 500 response, but is not rendered in the browser
we need to explicitly define what should and shouldn't work with exception handling
- can you use an ICEfaces page directly? worked in some previous version
- can you use a JSP page to redirect? worked in 1.6.2
- can you use an HTML page? worked in 1.6.2
test case
Perfect, it works now !
Thanks :-D