aspose file tools*
The moose likes JSF and the fly likes how to refresh captcha image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
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: 15665
    
  15

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to refresh captcha image
 
Similar Threads
Captcha
SimpleCaptCha Audio Issue
simple change to code that uses HTTPUrlConnection to make post request to a form
captcha image
Having issues using ajax to reload captcha