how do I dynamically change the properties of a bean at runtime using java spring? I have a bean mainView, which should use as property \"class\" either \"class1\" or \"clas
Agree with @Olivier above.
There are many ways to do it.
I would recommend item no:1 above.