[undertow-dev] Forwarding request's parameters to error servlet

Mohammed ElGhaouat melghaouat at gmail.com
Tue Jul 28 16:27:56 EDT 2015


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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20150728/4ea1ff99/attachment.html 


More information about the undertow-dev mailing list