Ah that sounds like it might be what I'm looking for. Do you have to do anything special to ensure the POST parameters get redirected as well? Or can I just do a request.sendRedirect from the file upload servlet to the form processing servlet?
On Mar 16, 3:39 am, bimbo jones <[email protected]> wrote: > Hi, > > Don't know if it helps but we have a servlet that processes the fileupload > and then redirects to another servlet with /some/code > And that servlet is the one responding to the form just by writing a JSON > string on the writer. > In the FormCompleteHandler you can parse the JSON or check for errors. > > 2010/3/15 fletcher <[email protected]> > > > Hello - > > > I'm trying to create a file upload form that writes to Blobstore. > > Let's say my form has two inputs, one of type file, and another, of > > type text. We'll call the text input the Caption. When the form gets > > submitted via an XMLHttpRequest from Javascript, I want to be able to > > say there was a problem with the Caption without having to refresh or > > redirect the page. Is there any way to do this on App Engine? Or do I > > need to split up my ajaxy forms and my file upload forms? > > > -- > > 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.
