views:

80

answers:

1

Hello,

I wanted to use Queue tasks on my GAE application. I need to pass two parameters to my URL servlet runTasks. So i am doing this. But when I print the values for start and end it prints null for start and 15 for end. Am i doing anything wrong? Is this the right way to pass the parameters?

TaskOptions to = null; to = TaskOptions.Builder.param("start", "0"); to = TaskOptions.Builder.param("end", "15"); to = to.url("/runTasks"); queue.add(to);

Thanks

+1  A: 
to = TaskOptions.Builder.param("start", "0").param("end", "15")
virsir