Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"commandName" Deprecated #3

Open
darshankaarki opened this issue Nov 1, 2019 · 3 comments
Open

"commandName" Deprecated #3

darshankaarki opened this issue Nov 1, 2019 · 3 comments

Comments

@darshankaarki
Copy link

In the Below step
spring-boot-master-class/02.Spring-Boot-Web-Application/Step18.md

and the below file
src/main/webapp/WEB-INF/jsp/todo.jsp

"commandName" has been deprecated please use "modelAttribute" instead.
Else in the latest Spring Boot the Add To do view will not work

@HansaTharuka
Copy link

Same Here Any Solution

@darshankaarki
Copy link
Author

The solution is to use model attribute as mentioned in my original post

@justinliu1981
Copy link

In todo.jsp, commandName (deprecated above Spring 5) should be replaced by modelAttribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants