Urlmapping with paypal return urls
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
and if a payment passes I want to set it as
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*?