Hi Sathish,

I am not actually sure about your problem. But I agree that the
documentation is a bit complicated to decode.
I do like that:

TaskOptions     taskOptions = TaskOptions.Builder.url("/
servlet").param("param", param).method(Method.GET);
                        //enqueue request
                        Queue queue = QueueFactory.getQueue("somequeue");
                                  queue.add(taskOptions);

In this example I do a GET request with one parameter. And I use a
specific queue but you can also just get the default queue.


On Jun 13, 9:14 am, sathish <[email protected]> wrote:
> Hi i'm new to Task queue concept while reading about it i got struck
> on this line
>
>      queue.add(
>
> DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(),
>       TaskOptions().url("/path/to/my/worker"));
>
>    What will DatastoreServiceFactory do... How to redirect this page
> to another servlet.... in the url i gave
>  .url("/myservlet") but it doesnt redirected to servlet Please Help
> me.
>
> Regards,
> Sathish

-- 
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.

Reply via email to