I’m trying to create a form which can be cancelled. I found that the class CancellableFormController exist. But couldn’t find a good explanation how to use it. Its my understanding that you have to give a variable with the request. But how do you do this inside a spring form? If someone could help me implement this. Or just point me towards a good tutorial, as I was unable to find one.
Thanks in advance,
David
This is part of the
SimpleFormControllerAPI which is deprecated as of spring 3 so I would not encourage using it. A substitute class in annotated MVC does not really exist but can be provided using multiple request mappings (modded example from spring forum):