hi, for usability reasons Captcha class should have a getter method for _answer field
for instance in jstl:
<c:if test={param['captcha'] == sessionScope['answer']}> correct .. </c:if>
your sincerely
Captcha class
sorry wrong jstl sample:
<c:if test={param['captcha'] == sessionScope['simpleCaptcha'].answer}> correct .. </c:if>
Log in to post a comment.
Captcha class
sorry wrong jstl sample:
<c:if test={param['captcha'] == sessionScope['simpleCaptcha'].answer}>
correct ..
</c:if>