Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation, examples
    • Labels:
      None

      Description

      One question raised at the Sydney Java Users Group was does Click support JSP.

      The importance of this being for supporting important JSP taglibs, e.g. DisplayTag or existing JSP/Tag code. Or as detailed by one of the group members:

      "One thought I had was co-existence. For example, one of the attractions of
      spring was that I could easily co-exist struts and spring and if I so
      desired mix the MVC web between the two. Whilst this is not optimal,
      perhaps a sentence in your FAQ about how easy/hard it is to migrate from
      struts slowly via co-existence might be useful."

      After some playing around I realized Click does support JSP by simply forwarding to the JSP page.

      public void onGet() {
      List customers = CustomerDAO.getCustomers();
      getContext().setRequestAttribute("customers", customers);

      setForward("customers-table.jsp");
      }

      An Click Examples page demonstrating JSP integration should be included. Also the Pages and FAQ documention should be updated to detail how to do this.

        Activity

        Malcolm Edgar created issue -
        Malcolm Edgar made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        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:
            Malcolm Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development