Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

set pageContext attribute in Filter

843838Dec 30 2005 — edited Dec 30 2005
I'm writing my own filter by implementing javax.servlet.Filter. I want my filter to set an attribute of pageContext something like pageContext.setAttribute("myAttribute", myAttribute). Unlike servlets, I don't have a reference to pageContext object. Anyone knows how to get the pageContext object in a Filter?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 27 2006
Added on Dec 30 2005
3 comments
374 views