Does the spring ioc container of the ssh2 and ssm frameworks manage the life cycle of the controllers for struts2 and spring mvc?

Please talk about both frameworks.

Nov.05,2021

those that can be managed by IOC are marked with @ Component and related comments, otherwise Spring scanning Bean that needs to be managed after startup will be ignored at all.

if you want to know if Spring handles any classes, you can go like this:

  

struts is not recommended in new projects to make

Menu