This example does not meet Oracle secure coding standards and modifications may be required to comply with the security practices and standards of your organization.

The initial HTML page to sumbit form

The Page handling submitted data

Source Code for the Error Page

A helper Java Class