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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: