Hi, I didn't find a solution to the problem described below (forwarded message). Currently the form and all its new data is stored, even if the user canceled. If the ActionServlet reads the cancel-Parameter from a multipart request, the action would be able to cancel the storing process. But the file will be uploaded though. If I don't use the Struts cancel mechanism where should I delete the data bean from the session? Regards, Till ----- Original Message ----- From: Till Nagel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 6:51 PM Subject: Cancel an upload form > Hi, > > I've encountered a problem with forms supporting uploading files. > > These forms must include enctype="multipart/form-data" in their form-tag. > The problem is that these multipart streams could be read just once. > The ActionServlet populates the objectForm (i.e. reads the stream) and next > it tries to read the parameter Constants.CANCEL_PROPERTY from request. But > it is always null. > How could I solve this problem? > > Thanks for any advice. > > Regards, > Till > > > > >

