Re: [appengine-java] Re: How to make BlobServlet send non-empty response?

2010-05-04 Thread bimbo jones
e 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 wrote: > > > > > > > > > > > > > hi, > > > &g

Re: [appengine-java] How to make BlobServlet send non-empty response?

2010-05-04 Thread bimbo jones
hi, You can redirect the upload servlet to another servlet that responds. 2010/5/3 Jaroslav Záruba > 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

Re: [appengine-java] Blobstore upload from Flash?

2010-04-19 Thread bimbo jones
hi, the blobstoreService.createUploadUrl() returns a string that you should use as the action for the form. I never used flash for this type work so i don't know if you have to use a absolute path in the action for it to work. You can make a servlet that give you the blobstoreService.createUpload

Re: [appengine-java] "Object Manager has been closed" on 2 synchronous requests

2010-04-08 Thread bimbo jones
hi, you should only close the persistence manager when your done. This error occurs because you try to close it a second time. Once you do the pm.close() all the data will be updated 2010/4/8 Arny > Hi, > > I'm getting an JDO/Nucleus exception when running 2 synchronous > requests on different

Re: [appengine-java] JDO Transactions in different entity groups

2010-03-31 Thread bimbo jones
Thanks, I was doing some unnecessary transactions. 2010/3/31 Ikai L (Google) > Why not just store these all in the User entity? Then you don't have to > worry about multiple retrievals and such. If you're concerned about indexes > being created on null values, you could always just use the low-

Re: [appengine-java] Re: Blobstore UploadBlobServlet.java NPE

2010-03-29 Thread bimbo jones
h, We have the following code in the upload servlet: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { BlobInfo info = new BlobInfoFactory().loadBlobInfo(blobstoreService.getUploadedBlobs(req).get("uploader")); // uploader is the na

Re: [appengine-java] Re: Blobstore upload callback without a redirect?

2010-03-16 Thread bimbo jones
ndRedirect from the file upload > servlet to the form processing servlet? > > On Mar 16, 3:39 am, bimbo jones wrote: > > Hi, > > > > Don't know if it helps but we have a servlet that processes the > fileupload > > and then redirects to another servlet with

Re: [appengine-java] Blobstore upload callback without a redirect?

2010-03-16 Thread bimbo jones
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

Re: [appengine-java] FileUpload

2010-03-04 Thread bimbo jones
ash to make a upload componet > > 2010/3/2 bimbo jones > >> Hello, >> >> Is there any way to add a progress bar to your upload? >> Im using the blobstore api to upload file. >> >> Thanks. >> >> -- >> You received this message because y

Re: [appengine-java] charged for data we cannot delete?

2010-03-03 Thread bimbo jones
Hi, I have that problem too.. i can't delete them from the admin site, what i've done is a small servlet that removes the blobs by key. 2010/3/3 Toby Reyelts > What problems are you seeing deleting files from Blobstore? > > > On Wed, Mar 3, 2010 at 2:32 PM, Houston startup coder < > stephenh...

Re: [appengine-java] Re: cron jobs

2010-02-22 Thread bimbo jones
ne time. > > But i want to print it for every minute. > > Please help me to get that result. > > Thanks, > > Lakshmi. > > On Feb 18, 7:10 pm, bimbo jones wrote: > > Hi, > > > > if you want it to be printed on the browser you should use > > pw.pr

Re: [appengine-java] Re: JavaMail doesn't work

2010-02-19 Thread bimbo jones
Hi, msg.setFrom(new InternetAddress("ad...@example.com", "Example.com Admin")); Change "ad...@example.com" to a valid admin/developer email in app overview The way i use it, i don't know if it is in the right way, i just add the " someth...@thedomain.com", to the list of admin of the app in the

Re: [appengine-java] cron jobs

2010-02-18 Thread bimbo jones
Hi, if you want it to be printed on the browser you should use pw.println("cron"); pw.close(); instead of System.out.println("cron"); 2010/2/18 Sowji > Hi, > Please help me in cron jobs,in google app engine. > My program main code is as follows. > -- >

Re: [appengine-java] Re: Caching pages.

2010-02-11 Thread bimbo jones
Hey there, I cached some html pages with tags like #MESSAGE# in a string, then used, htmlstring = htmlstring.replaceall("#MESSAGE#","new message"); then just print the whole string. BufferedReader in = new BufferedReader(new FileReader("pagetobecached.html")); while (in.ready()) htmlstring= htmls

Re: [appengine-java] Manipulate Blobs in Blobstore

2010-02-11 Thread bimbo jones
Thanks for the answer, I have an async call that get's the url(string) from the blobstore api and use that string directly on the form.setAction(...); then i show the button to upload.The problem is that sometimes i get errors, is there some issue or should i try to resubmit, or could the blobstor