views:

28

answers:

1

If there is an error in a form my grails application this results in a flash message. If I then go to another page, the (old) flash message shows up again on the new page. How do I prevent this?

A: 

One thought would be to clear the flash message on the first page when an error is detected.

Steve Wall