Hi All,
I have to execute a method based on different scenario.But the VO passing each time will be different.So how can i configure this in Spring
I have to execute method doSomeAction(@RequestBody SubVOA subVOA)
class mainVO{
//main attributes
}
class subVoA extends mainVO{
//some attributes
}
class subVoB extends mainVO{
//some attributes
}
how itsĀ possible to configure doSomeAction to accept both subVoA and subVoB. if not any other solution to do this