Menu

#3 getter for _answer field

open
nobody
None
5
2008-09-13
2008-09-13
No

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

Discussion

  • Fırat KÜÇÜK

    Fırat KÜÇÜK - 2008-09-13

    Captcha class

     
  • Fırat KÜÇÜK

    Fırat KÜÇÜK - 2008-09-13

    sorry wrong jstl sample:

    <c:if test={param['captcha'] == sessionScope['simpleCaptcha'].answer}>
    correct ..
    </c:if>

     

Log in to post a comment.