how to use diff pojo property values as path names in single form




Asked on November 27, 2014
i have a form using spring.in that form properties are related to different pojo classes and commandName will be only one and that commandName should map all the properties which we specified in place of path.so how can we use diff pojo properties for path in single form using single commandName


Replied on November 29, 2014
commnaName represents one pojo class, so I think different pojo can not be used with single commandName. I think it is possible that if a pojo class has setter/getter of different pojo, then it can be used with single command.

Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us