Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Struts file uploading

  Asked By: Ayden    Date: Aug 23    Category: Java    Views: 1356
  

I want to upload a file using struts <html:file /> tag. but I get an
Exception "java.lang.IllegalArgumentException : argument type
mismatch" . If you know about this problem help me please.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Cheryl Murphy     Answered On: Aug 23

I think you forgot to specify the encription type in
your form...
try
<html:form action="/yourAction" method="POST"
enctype="multipart/form-data">
in the form tag.

 
Didn't find what you were looking for? Find more on Struts file uploading Or get search suggestion and latest updates.




Tagged: