Try this one: http://java.sun.com/developer/EJTechTips/2003/tt0114.html
look on "Preventing Repeated Operations" Mark. --- Roberto Cosenza <[EMAIL PROTECTED]> wrote: > Yes there is. > But the problem is not really related to a servlet just to web > architecture. > A strategy is to put an object "token" in the session when you > show the > form and remove it when the user clicks "upload". > You will then deny uploads if you don't have the token in the > session . > Spring forms have support for it (www.springframework.com). > > /Roberto > > Elihu Smails wrote: > > >Is there a way to prevent multiple form posts from the > >same page/user/session using only servlets? I have a > >page where users can upload files, but I do not want > >them to keep smashing the upload button if their files > >are large, and the user becomes impatient. > > > >thank you. > > > > > > > >__________________________________ > >Do you Yahoo!? > >Read only the mail you want - Yahoo! Mail SpamGuard. > >http://promotions.yahoo.com/new_mail > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > -- > Roberto Cosenza > Infoflex Connect AB, Sweden > Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 > -- > Nordic Messaging Technologies is a trademark of Infoflex Connect. > Please visit www.nordicmessaging.se for more information about our > carrier-grade messaging products. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Dress up your holiday email, Hollywood style. Learn more. http://celebrity.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]