title: Server side equivalent of Window.Location.getParameter() in GWT
body: <p>On the client side I am able to retrieve URL parameters in GWT by </p>
  
  <pre><code>String parameterName = Window.Location.getParameter("parameterName");
  </code></pre>
  
  <p>Doing the same server side however gives me this exeption:</p>
  
  <pre><code>[...]
  threw an unexpected exception: java.lang.ExceptionInInitializerError
  [...]
  Caused by: java.lang.ExceptionInInitializerError
  at com.google.gwt.user.client.Window$Location.getQueryString(Window.java:262)
  at com.google.gwt.user.client.Window$Location.ensureParameterMap(Window.java:321)
  at com.google.gwt.user.client.Window$Location.getParameter(Window.java:211)
  at com.icada.idea.server.CurrentUser.getUser(CurrentUser.java:31)
  </code></pre>
  
  <p>Where line 31 in CurrentUser reads:</p>
  
  <pre><code>String noLogin= Window.Location.getParameter("nologin");
  </code></pre>
  
  <p>So how do I get the URL parameter server side? Or is it the only way to pass as a parameter to the method I am calling?</p>