[Opensource] Uploading file with FormFile

Michael Rimov rimovm at centercomp.com
Fri Apr 11 12:28:01 PDT 2003


At 04:30 PM 4/10/2003 -0300, you wrote:
>Maybe this is more struts related, so feel free to ignore.
>I'm trying to upload a file using FormFile in a form bean derived from
>ControllerForm.
>I'm getting a exception after sending the file to upload in
>Controller.java, perform() method. I know that it is BeanUtils populate
>method that is throwing the exception, but I can't figure out what is
>happening, any suggestions are welcome. Below follows the stack trace.

Roberto,

Since Expresso and Struts sometimes had different past histories, sometimes 
things aren't fully integrated.  Case in point is the file upload to form 
bean integration.  I'd recommend that you look at the Upload example onsite 
in the Docs section for Expresso for dealing with uploaded forms.  Works great.

HTH,
                                                 -Mike






More information about the Opensource mailing list