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

Stuart Douglas sdouglas at redhat.com
Thu Jul 30 23:11:09 EDT 2015


Probably, although it has not been tested. I also backported the fix to 1.1.x, so you could build a copy from that branch.

Stuart

----- Original Message -----
> From: "Mohammed ElGhaouat" <melghaouat at gmail.com>
> To: "Stuart Douglas" <sdouglas at redhat.com>
> Cc: undertow-dev at lists.jboss.org
> Sent: Wednesday, 29 July, 2015 6:00:06 PM
> Subject: Re: [undertow-dev] Forwarding request's parameters to error servlet
> 
> Thank you,
> 
> Would it be possible to have Undertow 1.2.10  working with Wildfly 8.2.0 ?
> 
> 
> Mohammed.
> 
> On Tue, Jul 28, 2015 at 11:18 PM, Stuart Douglas <sdouglas at redhat.com>
> wrote:
> 
> > 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