aspose file tools*
The moose likes Struts and the fly likes Captcha Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Captcha" Watch "Captcha" New topic
Author

Captcha

Rohitash sharma
Greenhorn

Joined: Dec 03, 2008
Posts: 19
I have created a programme based on 'captcha'.It is working but i want to add one essential feature. I want to add a link on the same page that if any one click on that link captcha image should change but not whole page should be refreshed

Please give me guidance
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Use Ajax. Not a particularly Struts-oriented question, though--if you're using Struts 2 you might be able to use the provided Ajax tags (although we're probably going to deprecate them as of S2.1.3).
Rohitash sharma
Greenhorn

Joined: Dec 03, 2008
Posts: 19
But sir it is not possible that if we click on that link then it calls a servlet and we create another image produced by that servlet and
we include that image in page.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

That's why I said to use Ajax, so it doesn't refresh the entire page.
 
Don't get me started about those stupid light bulbs.
 
subject: Captcha