I have a SimpleCaptcha (http://simplecaptcha.sourceforge.net/index.html
) in one of my page. On submission of this page, I do a validation of the captcha answer entered by the user. If incorrect I reload the same page with an error message. This time I need a new captcha to be shown to the user. This works as expected in hosted mode, but when I deploy the same on liferay portal, I get the old captcha.
Can someone let me know how this can be fixed? Thanks in advance.