Reload webpage with variable
<p>I am trying to reload webpage using location.reload(). I would also like to pass variable to this. I tried below option and it didn't work. Help plz?</p>

<pre><code> location.reload(window.location.replace=("success.jsp?abc="+&lt;%=processId%&gt;));
</code></pre>

<p>I also tried directly using below code and it send the variable value. But after reloading the page, it didn't put the grid values on the page.if I reload directly using location.reload(), it works. However, it is not passing the variable. </p>

<p>window.location.replace=("grid.jsp?procid="+&lt;%=processId%>)</p>
