Never get an error- sorry! Send mor info? -----Original Message----- From: Joey Ebright [mailto:[EMAIL PROTECTED]] Sent: Montag, 10. Februar 2003 02:34 To: Struts Users Mailing List Subject: Re: Problem with empty file upload field
What happens if the user does not specify a file to upload and you submit the form? Do you get an error? How do you handle this? J�rg Maurer wrote: >Just for info - I use struts 1.3b nb and built upload func into my >current app - no problem. Remark what i corrected from wrong in first >step : > >1. <html:form action="...enctype="multipart/form-data"> <- !!!!!! > >2. use as property a property of type FileForm from org.apache.struts - >it was a crazy idea to me to put a Form into a Form first ;-) > >3. erhm, and don�t open input stream on blank filename > >Ciao J�rg > > >-----Original Message----- >From: Joey Ebright [mailto:[EMAIL PROTECTED]] >Sent: Sonntag, 09. Februar 2003 22:20 >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: RE: Problem with empty file upload field > > >I too have the same problem - whenever the user does not supply a file >to upload I get an exception. I have tried the 1.1-b3 release of struts > >and the 1.6 release of the commons and recieve the same error from >BeanUtils.populate - IllegalArgumentException... > >Have you made any progress on this front? > >-Joey > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

