I'm not telling Apache's fileupload is forbidden (I believe so nevertheless) but take a look at BlobstoreService.createUploadUrl(successPath) and BlobstoreService.getUploadedBlobs(request).Blobstore/Datastore and reference to it.
On Tue, Aug 10, 2010 at 2:38 AM, Julie <[email protected]> wrote: > Interesting! Thanks for the info. I'm looking into it. > > I was also having issues trying to get org.apache.commons.fileupload to > work with GAE so this might solve both of my problems. > > ------------------------------ > *From:* Jaroslav Záruba <[email protected]> > *To:* [email protected] > *Sent:* Mon, August 9, 2010 5:26:55 PM > *Subject:* Re: [google-appengine] working with Images > > I believe you're supposed to store it in Blobstore and serve it from there. > > On Tue, Aug 10, 2010 at 12:52 AM, Julie <[email protected]> wrote: > >> Hi! >> >> Has anyone successfully wrote something using the GAE's "Images" Java API? >> I'm >> trying to learn. I read the Overview and is trying to do a resize of my >> sample >> image. After getting it into byte array and going through the sample code >> provided on the website, how can I convert it back to an image and either >> display it on the website or store it? I'm trying to use >> javax.imageio.ImageIO >> to do this but my Eclipse is saying the Google App engine doesn't support >> this >> at java runtime? If I use another route, I get >> java.awt.image.BufferedImage is >> not supported by Google App Engine's Java runtime environment. >> >> How can I convert my transformed image back to an image file? >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
