0 Replies Latest reply on Aug 9, 2017 5:01 AM by ManiRatnam Kothapalli

    response.sendredirect not working in WildFly 10 getting null session for every request

    ManiRatnam Kothapalli Newbie

      response.sendredirect is making my session null when redirecting to jsp from servlet to filter servlet in wildfly 10. but the same works fine in jboss 4 as we are migrating our application from jboss 4 to wildfly 10.

       

      I have tried response.sendredirect(response.encodeRedirectUrl("test.jsp")), but its creating a new session and getting null pointer exception saying session is null for every request.

       

      please help me on this