Hey guys,

Loving Spring. I am stuck though, to do with urlMapping (org.springframework.web.servlet.handler.SimpleUrl HandlerMapping). For those of you who dont know, when integrating with Paypal you can set the return to URL if a payment is successful, and another one if the payment is cancelled. For myself I want to set a url like

/paymentfailed.paypal?paymentId=abc&accountID=abc

and if a payment passes I want to set it as

/paymentpassed.paypal?paymentId=abc&accountID=abc

How do I do this using the SimpleURLHandler?

do I need to put a * to replace all the request parameters in the URL? Or will the SimpleUrlHandler deal with just the url up until the frist parameter?

Can I match on /paymentpassed.paypal or *.paypal or do I have to do something like paymentpassed.paypal*?

Thanks guys

Mike