Rewrote the code:
QueueFactory.getDefaultQueue().add(TaskOptions.Builder.withUrl(some_url).
param("some_name", "some_value").
method(TaskOptions.Method.GET));
Works fine now. Method needed to be set or it defaulted to POST and
created problems.
Disregard piece about it working on windows xp and not working on
macbook. I can't actually verify the truthiness of that statement.
On May 15, 8:23 pm, Nikita Kuznetsov <[email protected]> wrote:
> Get queue, create task, add task to queue:
>
> Queue q = QueueFactory.getDefaultQueue();
> TaskOptions opts = TaskOptions.Builder.withUrl(some_url);
> opts.param("some_name", "some_value");
> q.add(opts);
>
> The task is executed but HttpServletRequest.getParameterMap().size() == 0
> for this task.
>
> Originally occurred with 1.4.3. Tried updating 1.5.0 but it didn't help. I'm
> running on a macbook but my coworker on windows xp has no problem with this
> same piece of code.
>
> Any thoughts?
>
> Also, where can I post java issues? The link on the left appears to be for
> python issues.
--
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.