it works in firefox! it's a chrome and safari issue!!!!! sometimes (depends on the file) this browsers don't set the content type. thanks Dave, you show me the key.
I hope it helps the community 2009/6/18 Dave Newton <newton.d...@yahoo.com> > David Canos wrote: > >> if a try to upload a file without ContentType I get this: >> >> [ERROR] 10:39:39.953 (FileUploadInterceptor.java:intercept:263) >> org.apache.struts2.interceptor.FileUploadInterceptor >> Could not find a Content-Type for <*field*>. Verify that a valid file was >> submitted.|#] >> >> how can I solve this problem? a lot of people have unContentType files and >> they cannot upload. >> > > Don't most browsers set a content type? Maybe this log message should > appear as a warn or info, but it does represent something that has gone > wrong during the multipart upload process. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >