title: URL found in auth.gsp - beginner
body: <p>I need to know the following. I copied the following code from <a href="https://github.com/grails-plugins/grails-spring-security-ui/blob/master/grails-app/views/login/auth.gsp" rel="nofollow">auth.gsp</a>.  I need to know what:</p>
  
  <p>1.) I need to know what '${postUrl}' means?</p>
  
  <p>2.) I did copy this code and paste it in another GSP called index.gsp, but the page didn't login successfully.</p>
  
  <pre><code>&lt;form action='${postUrl}' method='POST' id="loginForm" name="loginForm" autocomplete='off'&gt;
      &lt;div class="sign-in"&gt;
  
      &lt;h1&gt;&lt;g:message code='spring.security.ui.login.signin'/&gt;&lt;/h1&gt;
  
      &lt;table&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;label for="username"&gt;&lt;g:message code='spring.security.ui.login.username'/&gt;&lt;/label&gt;&lt;/td&gt;
              &lt;td&gt;&lt;input name="j_username" id="username" size="20" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;label for="password"&gt;&lt;g:message code='spring.security.ui.login.password'/&gt;&lt;/label&gt;&lt;/td&gt;
              &lt;td&gt;&lt;input type="password" name="j_password" id="password" size="20" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan='2'&gt;
                  &lt;input type="checkbox" class="checkbox" name="${rememberMeParameter}" id="remember_me" checked="checked" /&gt;
                  &lt;label for='remember_me'&gt;&lt;g:message code='spring.security.ui.login.rememberme'/&gt;&lt;/label&gt; |
                  &lt;span class="forgot-link"&gt;
                      &lt;g:link controller='register' action='forgotPassword'&gt;&lt;g:message code='spring.security.ui.login.forgotPassword'/&gt;&lt;/g:link&gt;
                  &lt;/span&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan='2'&gt;
                  &lt;s2ui:linkButton elementId='register' controller='register' messageCode='spring.security.ui.login.register'/&gt;
                  &lt;s2ui:submitButton elementId='loginButton' form='loginForm' messageCode='spring.security.ui.login.login'/&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  
      &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>