0 Replies Latest reply: Sep 5, 2013 11:22 AM by abhinavshah RSS

    Weblogic 12c returning incorrect servletContext.getEffectiveMajorVersion()

    abhinavshah

      I am running Weblogic 12c.

      In my application I have web.xml with the version attribute set to "2.5".

       

      However, servletContext.getEffectiveMajorVersion() returns 3. I was expecting it to return 2.

      Even servletContext.getMajorVersion() returns 3.

       

      I tried servletContext.getEffectiveMajorVersion() in Glassfish 4.0 & it returns 2 which is the correct value.

       

      Can someone look into this?