You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Puneet Agarwal <pu...@delhi.tcs.co.in> on 2003/07/24 12:26:30 UTC

Form Bean Not Called Why ?

I am trying to upload a file using commons-fileupload API, but as soon as
do I add
               enctype="multipart/form-data"
to my form in JSP, the form bean is not called anymore.

can someone there help me find the problem with this...???

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1031)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Form Bean Not Called Why ?

Posted by Nagendra Kumar O V S <na...@ikigo.com>.
hi,
do u have the file name declared as "FormFile" in ur action form?...


-- nagi
-------Original Message-------

From: Struts Users Mailing List
Date: Thursday, July 24, 2003 03:57:55 PM
To: struts-user@jakarta.apache.org
Subject: Form Bean Not Called Why ?

I am trying to upload a file using commons-fileupload API, but as soon as
do I add
enctype="multipart/form-data"
to my form in JSP, the form bean is not called anymore.

can someone there help me find the problem with this...???

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1031)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


.