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>

        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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: