You can call one servlet from another using URL Fetch API, however I wouldn't recommend have a servlet call itself. It sounds like you should look at the Task API...
http://code.google.com/intl/en/appengine/docs/java/taskqueue/overview.html This will allow you to perform time consuming background tasks as small chunks of work. Hopefully this helps... Thanks, Enrique Perez Austin, Texas On Jan 25, 10:07 pm, edarroyo <[email protected]> wrote: > I'm sorry if this is a stupid question, but is it possible to do a > post request to another servlet from within a servlet? > > I am trying to do a post/get request to the same servlet because of > the 30 sec/request limit. I have to run an intensive job and would > like to know if doing another post/get would help. The next request > would basically pick-up from where the previous request left at. > > Also, on a totally different note: > Does GAE throw an exception when the request reaches the time limit? > If so, what is it and how can i catch it? > > Thanks! -- 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.
