try changing the browser, Chrome and Safari works bad with some content-type

2009/9/28 hisameer <cool_sameer_fo...@yahoo.com>

>
> Hi Dave,
>
> Thanks for pointing out the typo in the code. The issue was not that. After
> scratching my head off for a week the issue was in the code:
> <interceptor-ref name="basicStack" />
>                         <interceptor-ref name="fileUpload">
>
> image/jpeg,image/gif,image/png,image/bmp,image.jpg
>                         </interceptor-ref>
>                        <interceptor-ref name="validation" />
>                        <interceptor-ref name="workflow" />
>
> for some reason these interceptors were not behaving correctly and thus I
> was getting the null file in my action class. I removed those interceptors
> and the file was not null.
>
> Thanks everybody for the help.I read these interceptor in the struts2
> website but I think they should have tested it before adding the example:-p
> there. No issue!
>
>
> DNewfield wrote:
> >
> > hisameer wrote:
> >> Well, I dont see any typo here.
> >
> > image/jpg, not image.jpg
> >
> > And I assume the email process stripped out the '' and '' parts?
> >
> > -Dale
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/File-upload-issue-with-Struts-2.1.6-%28uploaded-file-is-always-null-in-action%29-tp25614736p25648913.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to