jQuery in Action, 2nd edition
The moose likes JSF and the fly likes how to refresh captcha image Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "how to refresh captcha image" Watch "how to refresh captcha image" New topic
Author

how to refresh captcha image

sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
i am using simplecaptcha.jar lib in my application ,

my problem is i want to refresh image without refreshing the page, and also after every submit action i want to change my captcha image value.

so if any one know the solution or any other way then please help me.

thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14571
    
    7

The image is part of the page, so by definition, refreshing the image means refreshing the page.

You can do partial page refresh using AJAX to update only the image (and I have done that), but it's still a page update.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to refresh captcha image
 
Similar Threads
Captcha
captcha image
SimpleCaptCha Audio Issue
simple change to code that uses HTTPUrlConnection to make post request to a form
Having issues using ajax to reload captcha