Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Struts
file miss match error in struts 1
vendikonda sravan
Ranch Hand
Posts: 38
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am uploading an image using jsp/Struts1.
and got the error
AddEmployeeForm.setFile - argument type mismatch
my jspcode is
<td><html:file property="file" value="file"/></td>
my actionform code is
private FormFile file; public void setFile(FormFile file) { this.file = file; } public FormFile getFile() { return this.file; }
unable to find were is it going wrong.wen do we get the argument mismatch error
Thanks
Sravan V
What does a metric clock look like? I bet it is nothing like this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
File Upload using Struts
File Uploading Problem - Argument miss match
Struts 1.2.4 File Upload - Form File is null in action
could not setThe value in html:file
struts file uploading problem
More...