Hi,
I've been looking at a similar issue so I hope nobody minds me piggy-backing on this
thread.
I've used the example struts upload code before, but now I'm trying to use a
DynaValidatorForm instead of handcrafting an actionForm. I've set my form property to this:
This config executes fine, but I've run out of ideas of how to cast the org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile back to a FormFile object in my action class. I had though something like this would work:
I've also tried creating a CommonsMultipartRequestHandler object and inspecting its properties, but no luck there either.
Any ideas, pointers, hints or tips greatly appreciated.
Cheers,
Kem