Have you got your filter working in a simple configuration, like for example a small Java application? If not, I would get it working there first. Trying to deal with JSTL at the same time only complicates things.
The City calls upon her steadfast protectors. Now for a tiny ad:
Thread Boost - a very different sort of advertising