Hie
>From my GAE code I am calling as
Queue queue = QueueFactory.getDefaultQueue();
queue.add(withUrl("/vik/sakshum/sakshumweb/server/queue/InviteFriendsQueue").param("ids",
emails.substring(beginIndex, i+1)).method(Method.GET));
and i have a servlet defined as:
package vik.sakshum.sakshumweb.server.queue;
public class InviteFriendsQueue extends HttpServlet{
private static final Logger log =
Logger.getLogger(InviteFriendsQueue.class.getName());
public void doGet(HttpServletRequest req,
HttpServletResponse resp){
log.info("Start of doPost InviteFriends");
String emails = null;
if(req.getParameter("ids") != null)
emails = (String)req.getParameter("ids");
...
}
But on running I am getting:
1.
Exception in execute of InviteFriends
2. E2011-12-17 10:50:59.647
vik.sakshum.sakshumweb.thirdparty.api.CloudSponge.InviteFriends
doPost: Exception class is :java.lang.IllegalArgumentException
3. E2011-12-17 10:50:59.647
vik.sakshum.sakshumweb.thirdparty.api.CloudSponge.InviteFriends
doPost: Exception is :Invalud URL :
Please advise.
Thankx and Regards
Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org
--
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.