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!

How to remove request parameters in a filter

843842Jul 24 2008 — edited Jul 24 2008
Hello,
I wanted to make a filter that removes all the GET parameters except for a few exceptions.
How do I remove parameters from a ServletRequest or HttpServletRequest? I am trying to make a webapp that only uses POST variables, and not GET (except a few exceptions).

Can someone point me in the right direction?
Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 21 2008
Added on Jul 24 2008
9 comments
1,821 views