Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1620

Use asynchronous event queue, HttpServletRequest.getContextPath() return null with tomcat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.2
    • 6.0.2
    • Container, ZK Update Engine
    • Security Level: Jimmy
    • None
    • Tomcat

      1. ZK 6.5.1.1 works fine with tomcat;
      2. ZK 6.0.2 ~ ZK 6.5.0 doesn't work with tomcat, but if run with "jetty", it works fine.

      the null pointer exception is cause by
      String ctxpath = ((HttpServletRequest)request).getContextPath();
      in ClassWebResource.java

        1. fire-event.zul
          0.3 kB
          samchuang
        2. FireEventController.java
          1 kB
          samchuang
        3. listen-event.zul
          0.3 kB
          samchuang
        4. ListenEventController.java
          2 kB
          samchuang
        5. MyButtonBar.java
          1 kB
          samchuang

            Jenkins Jenkins
            samchuang samchuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: