I am sorry.. It was a typo. I am using spring 3.0.4 version.
My question is :
Does it mean, if we dont use any @ ModelAttribute annotation, by default will it use my command type as name ?? Can someone help me to understand this clearly.
In my code , for the processSubmit() method, I am not using any @ModelAttribute annotation (at parameter level or at the method level). Still my model is available in the pizzasuccess.jsp view page (under request scope with name "pizza"). I am not using this "pizza" name anywhere in my controller.
Can someone explain me how this happens ? If this is default behavior, when we need to use @ModelAttribute annotation.
Hope this time, my question is clear