Reputation: 422
i am adding the task in the push queue that are adding correctly, but in logs there is error, it says that
No handlers matched this URL. although my task are added in the queue correctly
my qs is
queue.add(withUrl("/SendMail").param("email",input1)
Upvotes: 1
Views: 643
Reputation: 24910
The url you specify should have a corresponding mapping in your web.xml. So, for example /SendMail should have a servlet that it maps to.
The params are available as request parameters in your servlet doGet/doPost method.
Upvotes: 1