I would add the line :
request.getSession().setAttribute(Captcha.NAME, null);
to the sample code. It will reset the CAPTCHA. Otherwise spammers only have to type in the captcha once and can still automate the process and create for example 1000 accounts or place hundreds of messages on a messageboard
...
I work with Websphere v6.1 with Java 1.5.0
When i try the example i alway's get following message, help is much appreciated...
[30/08/09 22:50:49:979 CEST] 0000002f ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: StickyCaptcha. Exception thrown : java.lang.UnsupportedClassVersionError: (nl/captcha/Captcha$Builder) bad major version at...