Simple code is as below. I am obviously missing something as this prints the else branch on the form!
Thank you. Sorry for being a meatball! :--)
<table
String remoteAddr = request.getRemoteAddr();
ReCaptchaImpl reCaptcha = new ReCaptchaImpl();
reCaptcha.setPrivateKey("xxxxxx");
String challenge = request.getParameter("recaptcha_challenge_field");
String uresponse = request.getParameter("recaptcha_response_field");
reCaptchaResponse = reCaptcha.checkAnswer(remoteAddr, challenge, uresponse);
if (reCaptchaResponse.isValid()) {
out.print("Answer was entered correctly!");
<tr>
<td align="left" valign="top"><p>
<a href="mailto

perandi@capital.net">
<input type="submit" name="Submit" value="Submit">
</a>
</p>
}
else
out.print("Answer is wrong");
</tr>
</table>