How can I put an attribute into the JSP PageContext for the current request (so that it becomes accessible via ${myVar} ) from a Filter that runs before the JSP?
How can I put an attribute into the JSP PageContext for the current request
Share
I think I may be missing something, but:
ServletRequestobject in the filterrequest.setAttribute("myVar", value);chain.doFilter(request, response);