How are you accessing form fields?  Are you letting Struts 2 populate
setters in your actions or are you extracting them yourself?  Also,
check that the interceptor stack you are using has the
fileuploadinterceptor.

Don

On 12/15/06, Nagraj Rao <[EMAIL PROTECTED]> wrote:
Hi all

I'm facing a peculiar problem with one of my forms in Struts2. Whenever I 
submit the form uaing enc-type as multipart/form-data for file uploads, i'm 
unable to get any of the form fields in my action. If i remove the file widgets 
and enc-type attribute, i'm able to get all the form fields properly.

I've searched a lot on this but in vain. I could find a same problem in the 
link http://www.junlu.com/msg/309344.html. But with this guy is facing it with 
Struts1.x. Also no replies are found to it.

Kindly let me know if i've missed anything. Please do help. Also any 
suggestions or pointers to the same would be welcome.

regards,
Nagraj


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to