title: HttpServletRequest getting request
body: <p>I need really help. I have a login.jsp page </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
  
  &lt;head&gt;&lt;/head&gt;
  
  &lt;body&gt;
    &lt;form method="post" action="j_security_check"&gt;
      &lt;table&gt;
        &lt;tr&gt;
          &lt;td&gt;
            &lt;input type="text" name="j_username" autofocus="autofocus" required="required" /&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;
            &lt;input type="password" name="j_password" required="required" /&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;
            &lt;input type="submit" value="Login" /&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/form&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  
  
  <p>this is my web.xml </p>
  
  <p>
          
               All Pages
               /*<br>
          
          
                MY_User
          
          </p>
  
  <pre><code>&lt;security-role&gt;
      &lt;role-name&gt;MY_User&lt;/role-name&gt;
  &lt;/security-role&gt;
  
  &lt;login-config&gt;
      &lt;auth-method&gt;FORM&lt;/auth-method&gt;
       &lt;realm-name&gt;myRealm&lt;/realm-name&gt;
      &lt;form-login-config&gt;
          &lt;form-login-page&gt;/login.jsp&lt;/form-login-page&gt;
          &lt;form-error-page&gt;/error.jsp&lt;/form-error-page&gt;
      &lt;/form-login-config&gt;
  &lt;/login-config&gt;
  </code></pre>
  
  <p>In my filter I get the Principal. But somehow when I get into my main Class. The request is gone! </p>
  
  <p>How can I pass my Request to another Java class? </p>