To find an example for the validation filter, check the test webapp that you will find in the ./test/webapp directory.