- Formally define redirect, forward, and include in servlet architecture
- Analyze control transfer from protocol and container perspective
- Explain the impact of each strategy on URL, request scope, and caching
- Apply Post-Redirect-Get (PRG) pattern with reasoning, not just memorized syntax
- Select routing strategy for real application scenarios
- Troubleshoot routing bugs using deterministic checklist
flowchart LR
A[Client Request] --> B[Front Controller / Servlet]
B --> C[Service Layer]
C --> D{Outcome}
D -->|Validation errors| E[Forward to JSP]
D -->|State changed| F[Redirect to GET URL]
E --> G[HTML with request scope messages]
F --> H[Fresh GET request]
H --> I[Stable response]