Click
  1. Click
  2. CLK-237

jsp page doesn´t work without a Border template

    Details

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

        Activity

        Ricardo R. Lecheta created issue -
        Ricardo R. Lecheta made changes -
        Field Original Value New Value
        Attachment ClickServlet-patch.java [ 10281 ]
        Malcolm Edgar made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development