my dog learned polymorphism*
The moose likes Servlets and the fly likes Form flooding protection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Form flooding protection" Watch "Form flooding protection" New topic
Author

Form flooding protection

Aymeric Levaux
Greenhorn

Joined: Apr 01, 2004
Posts: 11
I'm looking for an API that generates image with a random number to display it in a form to check that a real user is filling this form (not a flooder)
Does any body knows about such an API (may be a custom tag ) ?

Thank You !
Pavel Cherkashin
Ranch Hand

Joined: Mar 04, 2005
Posts: 47
Hello, It looks like you should implement it yourself.
I think these passages of code will help you:
The servlet code (in doGet method):



The getImage code - it generates BufferedImage,
which shows the fascia of percents passed in parameters
you can draw there digits, text, and other info,
which will be concerned with Session



Pavel Cherkashin - <br />SCJP, SCWCD, SCDJWS, SCBCD, SCEA, ...<br />www.linkedin.com/in/pcherkas
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

For those coming in late, there is also a response in a (closed) duplicate thread here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form flooding protection
 
Similar Threads
Open a form
AJAX Dynamic Wizard-like Form Problems
Sorting huge files by using an index
Form flooding protection
API