Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Did you change the form definition to enctype=multipart/form-data yet? Yes, that is set correctly. Here's what it renders as HTML: form name=pollForm method=post action=/mafo2-dev/editPollSubmit.do enctype=multipart/form-data id=theForm Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. I'm using Mozilla Firefox and IE6, but this happens *before* the form is even displayed. I'm only going to the page where it should show up, and get the mentioned error message instead.

Re: File Upload and DynaActionForm?

2004-02-18 Thread Robert McBride
I don't believe that DynaActionForm supports the org.apache.struts.upload.FormFile type. See: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes -Rob Carl-Eric Menzel wrote: Hello, I'm having trouble getting file upload working when using a

File Upload and DynaActionForm?

2004-02-17 Thread Carl-Eric Menzel
Hello, I'm having trouble getting file upload working when using a DynaAction form. Here are the relevant parts: form-bean name=pollForm type=org.apache.struts.action.DynaActionForm form-property name=active

Re: File Upload and DynaActionForm?

2004-02-17 Thread Hubert Rabago
Did you change the form definition to enctype=multipart/form-data yet? --- Carl-Eric Menzel [EMAIL PROTECTED] wrote: Hello, I'm having trouble getting file upload working when using a DynaAction form. Here are the relevant parts: form-bean name=pollForm

Re: File Upload and DynaActionForm?

2004-02-17 Thread A3T
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. Wednesday, February 18, 2004, 5:45:24 AM, you wrote: CEM Hello, CEM I'm having trouble getting file upload working when using a DynaAction CEM form. Here are the relevant parts: CEM

form file upload with dynaactionform?

2002-09-17 Thread Fabian Sommer
Hi folks! Perhaps silly question, but I don't get the answer by browsing the struts-docs: I got a html:file - input field and want to parse the input file for some data. 1. Which data type is the right one to get the result of the input field? I've got a dynaactionform-bean to retrieve the form