I started to learn Spring recently and I want to know if it's possible to "select" a component based on user input.
Example: I have a user interface that lets you select your gender: Male or Female. Is it possible to to "inject" the option selected by the user?
Sorry if I did not use the correct terminology... I'm still new to this.