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

jsp page doesn´t work without a Border template

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: