This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using JCaptcha for captcha features. It is working fine. I have this code in CaptchaServlet and this code save the captcha in request
Now, i get this captcha in form Action from req and validate it etc.
In that form i set the following header for the JSP page
So that my captcha does not remain in cache. Now there is one issue. If i keep the page open for 10-15 minutes and after that i submit it, the actionform does not find any captcha (ok fine - make sense). The page is re-displayed but it display with the LAST CAPTCHA (it does not generate the new one) or at least generate the new one but does not show it.
So what coould be possible modification should i made so that my PAGE GURANTEE to show the new CAPTCHA IMAGE each time it loads (F5 or CTRL + F5).
The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.