posted 2 years ago
I have got two methods that redirect to the same .html file. First method is method responsible for saving, the second method is for updating. It has got the same view so I just wanted to move user to the same view. I have <h1>..</h1> in .html I would like to have title "New Mapping" for adding new mapping and "Update mapping" when we want to update mapping. These are methods that do all the stuff (redirecting to the .html file)
save.html file
I have added to model heading variable with according value, but unfortunately I have only ${heading} displayed.
Do you know how to fix it or how to make it on anothre way?
I do not want to use JS here