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

Stuart Douglas sdouglas at redhat.com
Tue Jul 28 17:18:12 EDT 2015


This looks like a bug. 

https://issues.jboss.org/browse/UNDERTOW-505

Stuart

----- Original Message -----
> From: "Mohammed ElGhaouat" <melghaouat at gmail.com>
> To: undertow-dev at lists.jboss.org
> Sent: Wednesday, 29 July, 2015 6:27:56 AM
> Subject: [undertow-dev] Forwarding request's parameters to error servlet
> 
> 
> 
> 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 !
> 
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list