In the face of the situation: I am in the car registration screen, where I can select the brand and enter the model. If I need to register a template that does not have the previously registered trademark, I have a link that leads to the trademark registration page. The correct would be at the end of the registration of the mark, return to the car registration screen, and not be displayed the standard screen of list of marks.
How to implement this in Spring?