views:

44

answers:

0

Hi when i started to work on Task queue concept 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 doesn't redirected to servlet Please say what should given in .url.Help me.

Regards, sharun