RE: upload fails
, Ken [EMAIL PROTECTED] wrote: Thanks-- adding the enctype-multipart/form-data did make it work. I'm just not sure where the actual uploaded doc goes. Does anyone know? ken -Original Message- From: Bryant, Doug [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 8:01 AM To: 'Struts Users Mailing List' Subject: RE: upload fails make sure your form tag sets the encoding type to multi-part html:form action=/saveReferences.do enctype=multipart/form-data Hope this helps. Doug -Original Message- From: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 10:58 AM To: 'Struts Users Mailing List' Subject: RE: upload fails Ken, Do you have a corresponding ActionForm containing these methods: public FormFile getFormFile(); public void setFormFile(FormFile file); -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 12:20 PM To: '[EMAIL PROTECTED]' Subject: upload fails I'm trying to do a simple file upload and my jsp has this snippet: html:file property=formFile/br html:submit / When I submit, I get the error: IllegalArgumentException: Argument Type Mismatch Am I missing something? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: upload fails
Thanks-- adding the enctype-multipart/form-data did make it work. I'm just not sure where the actual uploaded doc goes. Does anyone know? ken -Original Message- From: Bryant, Doug [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 8:01 AM To: 'Struts Users Mailing List' Subject: RE: upload fails make sure your form tag sets the encoding type to multi-part html:form action=/saveReferences.do enctype=multipart/form-data Hope this helps. Doug -Original Message- From: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 10:58 AM To: 'Struts Users Mailing List' Subject: RE: upload fails Ken, Do you have a corresponding ActionForm containing these methods: public FormFile getFormFile(); public void setFormFile(FormFile file); -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 12:20 PM To: '[EMAIL PROTECTED]' Subject: upload fails I'm trying to do a simple file upload and my jsp has this snippet: html:file property=formFile/br html:submit / When I submit, I get the error: IllegalArgumentException: Argument Type Mismatch Am I missing something? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: upload fails
make sure your form tag sets the encoding type to multi-part html:form action=/saveReferences.do enctype=multipart/form-data Hope this helps. Doug -Original Message- From: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 10:58 AM To: 'Struts Users Mailing List' Subject: RE: upload fails Ken, Do you have a corresponding ActionForm containing these methods: public FormFile getFormFile(); public void setFormFile(FormFile file); -Original Message- From: Domen, Ken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 12:20 PM To: '[EMAIL PROTECTED]' Subject: upload fails I'm trying to do a simple file upload and my jsp has this snippet: html:file property=formFile/br html:submit / When I submit, I get the error: IllegalArgumentException: Argument Type Mismatch Am I missing something? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]