- how have you url-encoded the parameters? Can you share the code?
- have you tried Method.POST instead of GET?
fabrizio
On Mon, Sep 20, 2010 at 7:45 AM, mar_novice wrote:
> When using task queue and the parameters contain an ampersand, it gets
> cut off when you try to its value.
>
> example:
>
> Queue queue = QueueFactory.getDefaultQueue();
> queue.add(
>url("/mailer")
>.param("msg","you & me")
>.method(Method.GET)
> );
>
> and in mailer servlet, when you try to get the value of msg
> ...
> msg = request.getParameter("msg");
> ...
>
> what i get is "you" only. The characters starting from the & to the
> end gets cut off. I even tried to url encode first the message.. but
> still it gets cut off.. Is this a bug?
>
> --
> 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
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.