Uploaded image for project: 'Click'
  1. Click
  2. CLK-237

jsp page doesn´t work without a Border template

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      The ClickServlet.renderJSP always forward to the *.htm page, and it causes a loop and OutOfMemory.

      The following code, always execute the "else" clause, because the "page.getTemplate()" returns the page with *.htm extension, and the page.getForward() returns the page with the *.jsp extension. This code works if the we use some Border page, but otherwise a OutOfMemory happens.

      if (page.getForward().equals(page.getTemplate()))

      { dispatcher = request.getRequestDispatcher(page.getForward()); }

      else

      { dispatcher = request.getRequestDispatcher(page.getTemplate()); }

      The patch is attached.
      regards,

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              rlecheta Ricardo R. Lecheta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: