Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Struts2 with AJAX file upload??

Don Brown

2006-12-16

Replies:

No, I don't see why you would need to. If your page is creating the
proper multipart request, Struts should be able to handle it as long
as the target action uses an interceptor stack that contains the file
upload interceptor.

Don

On 12/15/06, Nagraj Rao <nagraj.rao@(protected):
> well i had this tag in my struts-config.xml after all the acion mappings
> <controller
> multipartClass="net.kencochrane.upload.ExtendedMultiPartRequestHandler" />
>
> Do i need to override the fileupload interceptor in this case??
>
> ----- Original Message -----
> From: "Don Brown" <donald.brown@(protected)>
> To: "Struts Users Mailing List" <user@(protected)>
> Sent: Saturday, December 16, 2006 12:22 AM
> Subject: Re: Struts2 with AJAX file upload??
>
>
> > What do you mean by trying to find controller tags in struts.xml? How
> > do you have it implemented in Struts 1?
> >
> > Don
> >
> > On 12/15/06, Nagraj Rao <nagraj.rao@(protected):
> >> Hi guys
> >>
> >> I want to implement AJAX file upload in Struts2. tried searching over on
> >> the net, but couldn't find much. I have an AJAX based file uploader
> >> working in Struts1.x but i'm not able to migrate it to Struts2 due to
> >> some uncommon controller mappings (such as i'm not finding any conroller
> >> tags to be placed inside my struts.xml).
> >>
> >> Needed some pointers for the same. Please help. Any suggestions will be
> >> appreciated.
> >>
> >> regards,
> >> Nagraj
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.