ICEfaces
  1. ICEfaces
  2. ICE-3028

Redirect on exception handling jsp page is not working.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      N/A

      Description

      Following scenario for exception handling is not working:

      web.xml contains:

      <error-page>
              <exception-type>java.lang.Exception</exception-type>
              <location>/exceptionRedirect.jsp</location>
          </error-page>

      exceptionRedirect.jsp contains:

      <% response.sendRedirect("/App/error.jspx"); %>


      NOTE: same works for

      <error-page>
                  <error-code>404</error-code>
                  <location>/exceptionRedirect.jsp</location>
       </error-page>

        Activity

        Mandeep Hayher created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Mandeep Hayher made changes -
        Description Following scenario for exception handling is not working:

        web.xml contains:

        <error-page>
                <exception-type>java.lang.Exception</exception-type>
                <location>/exceptionRedirect.jsp</location>
            </error-page>

        exceptionRedirect.jsp contains:

        <% response.sendRedirect("/App/error.jspx"); %>


        NOTE: same this works for

        <error-page>
                    <error-code>404</error-code>
                    <location>/exceptionRedirect.jsp</location>
         </error-page>

        Following scenario for exception handling is not working:

        web.xml contains:

        <error-page>
                <exception-type>java.lang.Exception</exception-type>
                <location>/exceptionRedirect.jsp</location>
            </error-page>

        exceptionRedirect.jsp contains:

        <% response.sendRedirect("/App/error.jspx"); %>


        NOTE: same works for

        <error-page>
                    <error-code>404</error-code>
                    <location>/exceptionRedirect.jsp</location>
         </error-page>

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16545 Tue Apr 29 15:06:38 MDT 2008 mircea.toma Refactor.
        ICE-3028
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/synchronizer.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/ajax.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/script.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16547 Tue Apr 29 16:25:14 MDT 2008 mircea.toma Replace bridge container's body when 'text/html' content is received.
        ICE-3028
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Hide
        Mircea Toma added a comment -

        Replace bridge container's body when 'text/html' content is received.

        Show
        Mircea Toma added a comment - Replace bridge container's body when 'text/html' content is received.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mandeep Hayher added a comment -

        Verified successfully on Revision# 16550

        Show
        Mandeep Hayher added a comment - Verified successfully on Revision# 16550
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16610 Thu May 08 15:33:05 MDT 2008 mircea.toma Backport fixes for ICE-3028
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/connection.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/synchronizer.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/ajax.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/connection.async.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/script.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16611 Thu May 08 15:38:55 MDT 2008 mircea.toma Backport fixes for ICE-3028
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mandeep Hayher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: