title: Tapestr 5.1 and servlet url
body: <p>I'm trying to make an ajax call from the tml page. The idea would be to invoke a servlet to return me a string.
  The javascript function is:</p>
  
  <p>function getComment(paramId) {</p>
  
  <pre><code>            var xmlhttp;
              if (window.XMLHttpRequest)
                   {// code for IE7+, Firefox, Chrome, Opera, Safari
                   xmlhttp=new XMLHttpRequest();
                  }
              else
              {// code for IE6, IE5
              xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
              }
  
              xmlhttp.onreadystatechange=function()
                  {
                  if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200)
                  {
                      //document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
                      alert('El server responde' + xmlhttp.responseText);
                  }
              }
              xmlhttp.open("GET","/myapp/combo/?personId=paramId",true);
              xmlhttp.send();
  
          } 
  </code></pre>
  
  <p>The url "/myapp/combo/" is mapped in web.xml:</p>
  
  <pre><code>    &lt;servlet&gt;
      &lt;servlet-name&gt;ComboServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;xxx.xxx.ComboServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ComboServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/combo/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>The problem is that it seems that the url is wrong, because the servlet does not intercept the "GET". 
  Does anyone know what I'm doing wrong, or if there is another way? </p>
  
  <p>Thanks!!!</p>