ICEfaces
  1. ICEfaces
  2. ICE-4303

error-page directive not working with netbeans projects

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Raffaele Spazzoli created issue -
          Raffaele Spazzoli made changes -
          Field Original Value New Value
          Attachment iceNotWorking.zip [ 11642 ]
          Attachment woodstockWorking.zip [ 11643 ]
          Frank Ye made changes -
          Assignee Frank Ye [ frank.ye ]
          Frank Ye made changes -
          Assignee Frank Ye [ frank.ye ]
          Arran Mccullough made changes -
          Salesforce Case [50070000009NnsO]
          Ken Fyten made changes -
          Fix Version/s 1.8.2 [ 10190 ]
          Assignee Priority P3
          Assignee Ted Goddard [ ted.goddard ]
          Ted Goddard made changes -
          Attachment WebApplication1.zip [ 11908 ]
          Attachment WebApplication1.war [ 11909 ]
          Ted Goddard made changes -
          Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
          Ken Fyten made changes -
          Assignee Deryk Sinotte [ deryk.sinotte ] Liming Wu [ liming.wu ]
          Ken Fyten made changes -
          Link This issue depends on ICE-4862 [ ICE-4862 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Priority P3
          Resolution Duplicate [ 3 ]
          Assignee Liming Wu [ liming.wu ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Raffaele Spazzoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: