The way we do it(don't know if it is the best) is to use the blobstore api
to get the url to put in the form action.

on the 1st servlet you get the blobinfo and what not, then you redirect to
another servlet that can write to the form complete handler.
I'll share some code later today.


2010/5/4 Jaroslav Záruba <[email protected]>

> Or do you mean I should read the post data, send them to uploadUrl
> using another request I create, and then write response to the
> original one...?
> That might probably work... :P
>
> On May 4, 6:43 pm, Jaroslav Záruba <[email protected]> wrote:
> > Can you be more specific please?
> > (After redirecting request you can't write to its response.)
> >
> > Regards
> >   J. Záruba
> >
> > On May 4, 10:01 am, bimbo jones <[email protected]> wrote:
> >
> >
> >
> >
> >
> > > hi,
> >
> > > You can redirect the upload servlet to another servlet that responds.
> >
> > > 2010/5/3 Jaroslav Záruba <[email protected]>
> >
> > > > I'm trying to use SWFUpload for uploading images in my application
> but
> > > > either this particular component or Flash does not like empty
> > > > responses.
> > > > Is it possible somehow to get any content in the response-body from
> > > > uploadUrl?
> >
> > > > Regards
> > > >  J. Záruba
> >
> > > > --
> > > > You received this message because you are subscribed to the Google
> Groups
> > > > "Google App Engine for Java" group.
> > > > To post to this group, send email to
> > > > [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-appengine-java%[email protected]><google-appengine-java%2B
> [email protected]>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups "Google App Engine for Java" group.
> > > To post to this group, send email to
> [email protected].
> > > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> > To post to this group, send email to
> [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to