title: GWT URL Parameters
body: <p>What is the proper way to use URL parameters?</p>
  
  <p>My URL is this: <a href="http://localhost:8080/#pg5?testing=abc" rel="noreferrer">http://localhost:8080/#pg5?testing=abc</a></p>
  
  <p>In my code I try to get the value of testing using this line of code:</p>
  
  <pre><code>String value = com.google.gwt.user.client.Window.Location.getParameter("testing");
  </code></pre>
  
  <p>Unfortunately all this does is set my string to "undefined".</p>
  
  <p>I thought perhaps it wasn't getting the correct URL but this code returns the proper URL:</p>
  
  <pre><code>String value = com.google.gwt.user.client.Window.Location.getHref();
  </code></pre>
  
  <p>I know I can parse the url to get my parameters, but I thought that's what getParamerter() was for.</p>