I had the same problem but found out the reason. You must enable Billing for your Account in order for Blobstore to work. Checout the exception in your Admin Console Log (after uploading), you will see the description of the error. However, this should work in your dev mode without any issues.
C30 On May 25, 6:10 am, "[email protected]" <[email protected]> wrote: > Hi,Patrick > i just copy all from google codes athttp://code.google.com/intl/en/appengine/ > docs/java/blobstore/overview.html#Complete_Sample_App > > its the same. > i didn't change any code. > that's the point why it can not run....==! > > thank you~ > > <?xml version="1.0" encoding="utf-8"?> > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> > > <servlet> > <servlet-name>Upload</servlet-name> > <servlet-class>Upload</servlet-class> > </servlet> > > <servlet> > <servlet-name>Serve</servlet-name> > <servlet-class>Serve</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>Upload</servlet-name> > <url-pattern>/upload</url-pattern> > </servlet-mapping> > > <servlet-mapping> > <servlet-name>Serve</servlet-name> > <url-pattern>/serve</url-pattern> > </servlet-mapping> > > </web-app> > > 2010/5/25 Patrick Brown <[email protected]>: > > > > > > > Hi > > > What does your web.xml look like? > > > Thanks, > > Patrick > > > On Sun, May 23, 2010 at 11:37 PM, Tianshu <[email protected]> wrote: > > >> hello, > >> i'm a student from Temasek poly of Singapore. within one of my > >> project. i want to use blob to store some files like pictures, > >> documents. > >> because of i didn't use it before. so, i just follow the teaching > >> notes of Google Code(link:http://code.google.com/intl/en/appengine/ > >> docs/java/blobstore/overview.html#Complete_Sample_App) > > >> the problem is, > >> it's no problem to run at localhost. i even can view all the data from > >> localhost appengine(link:http://localhost:8888/_ah/admin/). BUT when i > >> update the project to Google App Engine, it can not run successful. > >> You can see what i have done athttp://1.latest.uploadimagee.appspot.com/ > > >> at the beginning. i think its the JSP's problem. so i change the first > >> page "index.jsp" to a servlet named "index". but i still got the same > >> error. (http://2.latest.uploadimagee.appspot.com/)but also have no > >> problem in localhost running time. > > >> Can anyone help me to solve my problem? thank you~~~ > > >> -- > >> 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. > > > -- > > 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. > > -- > ----天道无亲(dts) > > -- > 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 > 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]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
