Servlet mapping for ajax call parameters

Posted by Woho87 on Stack Overflow See other posts from Stack Overflow or by Woho87
Published on 2011-02-27T23:05:02Z Indexed on 2011/02/27 23:24 UTC
Read the original article Hit count: 235

Filed under:
|
|

Hi guys!

<servlet-mapping>
      <servlet-name>Test</servlet-name>
      <url-pattern>/GetContacts*</url-pattern>
</servlet-mapping>

I got a simple problem where I can't find any solution on the internet. I have a ajax calls that have the url http://localhost:80/Push/GetContacts?id=23.....

The above servlet mapping is not correct for the AJAX call. it issues a http 404 not found call. What is the right syntax to enable my ajax call?

© Stack Overflow or respective owner

Related posts about java

Related posts about AJAX