how to get values sent by location.replace(URL)
<p>In my JavaScript function I do like this in order to redirect parameters to servlet:</p>

<pre><code>var ids1=document.getElementById("projet").value;
document.location.href("http://localhost:8080/Opc_Web_App/ServletAffectation?ids1="+ids1);
</code></pre>

<p>and in the servlet I do the following to get Value:</p>

<pre><code>String idprojet= request.getParameter("ids1");
System.out.println("le projet selectionné est :" +idprojet);
</code></pre>

<p>the problem that i didn't have the result of System.out.print in my screen; so in other terms the servlet didn't get the parameter.</p>

<p>I can not see the problem until now.
Please help.
Thank you.</p>
