File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 15641
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to refresh captcha image
 
Similar Threads
SimpleCaptCha Audio Issue
simple change to code that uses HTTPUrlConnection to make post request to a form
Having issues using ajax to reload captcha
Captcha
captcha image