interrupt a request to a load a page and the redirect if necessary
some info:
1. I need to check some stuff on the request before it can continue with normal processing.
2. if the check fails, I need to redirect the user to the 404 page.
3. I need to have access to Http session and HTTP request objects.
4. I only need to filter on a specific path (example: /content/myapp/en/folder1 or /folder1)
Any ideas on what sort of Java "tech" can do this?