Please find below a code I found in onjava regarding a Filter which avoids multiple submits. Basically it queues the requests and always overwrites the last request with the current waiting request in queue. Hence even if we press 10 times, only first and last requests will be filtered. Its a nice program. .
My question is how can we change this program, so that even the last request will not be processed ? I do not want the processing to happen even two times. I want to restrct the processing to only one time.**note that I do not prefer a Java script client solution **. I tried many ways, but hits balnk page or some exceptions. Please help ..
Best regards, Ravi
[ February 04, 2007: Message edited by: Bear Bibeault ]