Here are two example servlets showing how to validate forms with FormEncode_. * FormEncodeExample_ - an example included with FormEncode itself, using actions * FormExample1_ - similar, but without using actions * FormExample2_ - similar, but Schema defined in the form template .. _FormEncode: http://formencode.org/ .. _FormEncodeExample: http://bitbucket.org/ianb/formencode/src/tip/examples/WebwareExamples/index.py