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

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

    XMLWordPrintable

Details

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

    Description

      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"; }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: