What is the default scope in the web context?

Technology CommunityCategory: SpringWhat is the default scope in the web context?
VietMX Staff asked 3 years ago

The singleton scope is the default scope for a Spring bean, even in the web context. The other three web context-aware scopes are a request, session, and global-session, which are only available in a web application aware ApplicationContext object.