Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-221

Resteasy doesn't support @context injectionof ServletContext, ServletConfig, etc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.RC2
    • 1.1.RC1
    • None
    • None

      The following method show that the injected ServletContext is null.

      @GET
      @Produces("test/plain")
      public String getData(@Context ServletContext servletContext)

      { System.out.println("****************** "+servletContext); return "Data"; }

              patriot1burke@gmail.com Bill Burke (Inactive)
              kfroberg Kjeld Froberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: