3 Replies Latest reply on Jul 28, 2015 12:48 PM by jaikiran pai

    [Wildfly:Undertow]Forwarding request's parameters to error servlet

    Amo Montirassi Newbie

      Hello,

       

      I am working on few application's migration from Jonas which is based on tomcat to Wildfly 8.2, some of theses applications are using the <error-page> section of web.xml to forward the request  to a specific servlet.

       

      if the user type something like: localhost:8080/someunmappedurl/?param=elghaoua

       

      the next error-page section force a forward to a specific servlet

       

      <error-page>

        <error-code>404</error-code>

        <location>/specificServlet</location>

      </error-page>

       

      with tomcat this specific servlet receives the parameters of the initial request but with Wildfly/Undertow these paramters are lost. tryed on the Wildfly 8.2 and 9.0.1


      Any idea how to fix this ?


      Thank you !