seniorSpring

What is request scope vs session scope in Spring MVC?

Updated May 17, 2026

Short answer

Request scope lives per HTTP request; session scope lives per user session.

Deep explanation

Request scope beans are created and destroyed per request. Session scope persists across multiple requests for a user session, useful for user-specific state.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Spring interview questions

View all →