Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to refresh captcha image

 
sa sam
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic