PDA

View Full Version : redirect:to_external_url, POST instead of GET?


vladimirus
Mar 26th, 2007, 09:43 PM
Hi,

I am sorry (in advance) if my question is too common but I searched the forum couple of times and I still couldn't find a solution for my problem.

My problem:

I have a controller which handles a form (it performs various checks eg. amount entered is correct, user is correct etc) if the form is ok, I want to submit this form to some external website (paypal). The problem is: when I do "new ModelAndView("redirect:http://blabla.com", model)" all the form data is visible in the address bar (ie GET method) is there anyway I can redirect like a normal POST method will do?

Many thanks,

vladimirus