Jan 3rd, 2008, 12:39 AM
Success redirect from one controller to another
I've been testing a number of functionalities with the Springframework and in this particular case I have a simpleform controller's successview set to a redirect: payment.form which is the url mapping for another simpleform controller. I'm not sure if the redirect is causing this but the page that loads up has the url:
which is quite messy and I wish to hide all this information apart from the payment.form. Reason I am going from one controller to another is that both pages have forms where a user should be directed to the next page if the first is valid (and I do some processing afterwards). I also do some processing prior to displaying the second form hence why I don't just display a standard view (i.e. jsp) after the first form.
It is working in it's current form but I dislike the url displaying the package name and other technical information to a user. I could use a wizard form but that is overkill for what I am working on and I don't need the extra complexity of setting up a wizard form.
Am I doing something wrong, please advise.