Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 1.8RC2
-
Fix Version/s: 1.8.2
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:Netbeans 6.5.1
Description
the error-page directive in web.xml doesn't seem to work with Netbeans 6.5.1 and icefaces 1.8.RC2. I was expecting it to start to work after correction of ICE-4078.
Here is the description of the problem. I have a simple project that throw an exception upon the pressure of a button. I would expect to be able to intercept the exception with the error page directive and decide on what page to land. Instead the browser goes to a standard http500 page.
Reading the forums (http://www.icefaces.org/JForum/posts/list/5057.page,http://www.icefaces.org/JForum/posts/list/7986.page,http://www.icefaces.org/JForum/posts/list/7986.page) it seems that the JSF stack specification itself has some problem with the error-page directive given the JSF lifecycle. I admit I haven't understood exactly what is the problem. I've found example projects with icefaces but without netbeans. These projects need a redirect JSP page I'm not sure this technique is possible using netbeans. Anyway notice that with the woodstock faces stack this behaviour works.
I'm attaching a non working project made with icefaces and a working one with woodstock.
Here is the description of the problem. I have a simple project that throw an exception upon the pressure of a button. I would expect to be able to intercept the exception with the error page directive and decide on what page to land. Instead the browser goes to a standard http500 page.
Reading the forums (http://www.icefaces.org/JForum/posts/list/5057.page,http://www.icefaces.org/JForum/posts/list/7986.page,http://www.icefaces.org/JForum/posts/list/7986.page) it seems that the JSF stack specification itself has some problem with the error-page directive given the JSF lifecycle. I admit I haven't understood exactly what is the problem. I've found example projects with icefaces but without netbeans. These projects need a redirect JSP page I'm not sure this technique is possible using netbeans. Anyway notice that with the woodstock faces stack this behaviour works.
I'm attaching a non working project made with icefaces and a working one with woodstock.
-
Hide
- iceNotWorking.zip
- 34 kB
- Raffaele Spazzoli
-
- WebApplication1/build.xml 3 kB
- WebApplication1/web/Page1.jsp 1 kB
- WebApplication1/web/index.html 0.5 kB
- WebApplication1/web/errorPage.jsp 1.0 kB
- WebApplication1/.../genfiles.properties 0.4 kB
- WebApplication1/nbproject/build-impl.xml 44 kB
- WebApplication1/.../project.properties 2 kB
- WebApplication1/nbproject/ant-deploy.xml 3 kB
- WebApplication1/nbproject/project.xml 2 kB
- WebApplication1/web/.../stylesheet.css 52 kB
- WebApplication1/web/.../faces-config.xml 2 kB
- WebApplication1/web/WEB-INF/sun-web.xml 0.5 kB
- WebApplication1/web/WEB-INF/web.xml 4 kB
- WebApplication1/src/conf/MANIFEST.MF 0.0 kB
- WebApplication1/.../private.properties 3 kB
- WebApplication1/src/.../errorPage.java 5 kB
- WebApplication1/src/.../Page1.java 4 kB
- WebApplication1/src/.../RequestBean1.java 3 kB
- WebApplication1/src/.../SessionBean1.java 4 kB
- WebApplication1/.../ApplicationBean1.java 4 kB
-
Hide
- WebApplication1.war
- 5.87 MB
- Ted Goddard
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- Page1.jsp 1 kB
- WEB-INF/classes/.../ApplicationBean1.class 1 kB
- WEB-INF/classes/.../Page1.class 1 kB
- WEB-INF/classes/.../RequestBean1.class 0.9 kB
- WEB-INF/classes/.../SessionBean1.class 1 kB
- WEB-INF/classes/.../errorPage.class 2 kB
- WEB-INF/faces-config.xml 2 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 113 kB
- WEB-INF/lib/commons-collections.jar 162 kB
- WEB-INF/lib/commons-digester.jar 104 kB
- WEB-INF/lib/commons-fileupload.jar 87 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/dataprovider.jar 237 kB
- WEB-INF/lib/errorhandler.jar 29 kB
- WEB-INF/lib/icefaces-bm.jar 65 kB
- WEB-INF/lib/icefaces-comps.jar 1.93 MB
- WEB-INF/lib/icefaces.jar 1.06 MB
- WEB-INF/lib/jsf-api.jar 353 kB
- WEB-INF/lib/jsf-impl.jar 813 kB
- WEB-INF/lib/jsfcl.jar 203 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/sqlx.jar 169 kB
- WEB-INF/lib/wyswyg-appbase.jar 22 kB
- WEB-INF/sun-web.xml 0.5 kB
- WEB-INF/web.xml 4 kB
- errorPage.jsp 1.0 kB
- index.html 0.5 kB
-
Hide
- WebApplication1.zip
- 34 kB
- Ted Goddard
-
- WebApplication1/build.xml 3 kB
- WebApplication1/nbproject/ant-deploy.xml 2 kB
- WebApplication1/nbproject/build-impl.xml 45 kB
- WebApplication1/.../faces-config.NavData 0.4 kB
- WebApplication1/.../genfiles.properties 0.4 kB
- WebApplication1/.../private.properties 1.0 kB
- WebApplication1/.../project.properties 2 kB
- WebApplication1/nbproject/project.xml 2 kB
- WebApplication1/src/conf/MANIFEST.MF 0.0 kB
- WebApplication1/.../ApplicationBean1.java 4 kB
- WebApplication1/src/.../errorPage.java 5 kB
- WebApplication1/src/.../Page1.java 4 kB
- WebApplication1/src/.../RequestBean1.java 3 kB
- WebApplication1/src/.../SessionBean1.java 4 kB
- WebApplication1/web/errorPage.jsp 1.0 kB
- WebApplication1/web/index.html 0.5 kB
- WebApplication1/web/META-INF/context.xml 0.1 kB
- WebApplication1/web/Page1.jsp 1 kB
- WebApplication1/web/.../stylesheet.css 52 kB
- WebApplication1/web/.../faces-config.xml 2 kB
- WebApplication1/web/WEB-INF/sun-web.xml 0.5 kB
- WebApplication1/web/WEB-INF/web.xml 4 kB
-
Hide
- woodstockWorking.zip
- 24 kB
- Raffaele Spazzoli
-
- WebApplication2/build.xml 3 kB
- WebApplication2/web/Page1.jsp 1 kB
- WebApplication2/.../genfiles.properties 0.4 kB
- WebApplication2/nbproject/build-impl.xml 43 kB
- WebApplication2/.../project.properties 2 kB
- WebApplication2/nbproject/ant-deploy.xml 3 kB
- WebApplication2/nbproject/project.xml 2 kB
- WebApplication2/web/.../stylesheet.css 0.8 kB
- WebApplication2/web/.../faces-config.xml 1 kB
- WebApplication2/web/WEB-INF/sun-web.xml 0.5 kB
- WebApplication2/web/WEB-INF/web.xml 4 kB
- WebApplication2/src/conf/MANIFEST.MF 0.0 kB
- WebApplication2/.../private.properties 3 kB
- WebApplication2/src/.../Page1.java 5 kB
- WebApplication2/src/.../Bundle.properties 0.1 kB
- WebApplication2/src/.../RequestBean1.java 4 kB
- WebApplication2/src/.../SessionBean1.java 4 kB
- WebApplication2/.../ApplicationBean1.java 4 kB
Issue Links
- depends on
-
ICE-4862 error-page redirection not working in Glassfish v2 when directing to a JSP error page
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There are no subversion log entries for this issue yet.