I'm using Spring 3.1.0 JARs for my application. I have mapped my bean class with view through command name, I have no problem with mapping it works clearly.
The issue is that I'm having an int
variable in my bean class:
private int id;
When I map this variable with <'form:input path="id" />'
, it gives the default value 0
in the text box which I don't want there. How can I get rid of this?