Bear Bibeault wrote:Outside of a JSP, the concept of page context does not exist, so you'd never use it in a servlet.
It's useful on a page for on-page variables (the current iteration of a forEach loop, for example) and for custom tags to comminucate with the page.
I may have a misunderstanding about this. I thought you could set page-scoped variables in the view servlet, which then forwards to the view JSP which accesses those page-scoped variables.
Is that wrong?