posted 12 years ago
After going through many tutorials on net, i modified my controller class by adding InitBinder as shown below:
Controller class:
i also created UserEditor and BoardEditor classes under the same directory where User and Board class resides. and implemented getAsText and setAsText methods as shown below for UserEditor class:
my jsp code, as it is:
the value in path="user" is showing correctly on click of submit button in the setAsText() method of UserEditor class... but this value is not getting copied to model object of the onSubmit method call in controller class...
please help me in resolving it. Thank you.