Details

    • Type: Task
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              medgar Malcolm Edgar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: