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
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.
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
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
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
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
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
7 matches
Mail list logo