title: Broken submit form
body: <p>Hi i'm trying to do a simple check if there's a session and if is not show another content on my form, but when i click submit button nothing happens.</p>
  
  <pre><code>&lt;h1&gt;Online banking&lt;/h1&gt;
  &lt;% 
       String useremai =  (String)session.getAttribute("email");
      if(useremai!=null)
       {%&gt; 
  
      Welcome Mr(s). &lt;%=useremai%&gt;                
  
  &lt;%
  
          }
       else 
       {
              %&gt;
      &lt;form action="index_activate.jsp" method="post" name="myform" id="myform" onSubmit="validateBlanks();return false;"&gt;
      E-mail  &lt;input class="input" id="email" name="email" type="text" style="width:120px; text-align:center" value=""/&gt;&lt;br&gt;&lt;br&gt;
  
  
      Password &lt;input class="input" id="password" name="password" type="password" style="width:120px; text-align:center" value=""/&gt;&lt;br&gt;
  
      &lt;div id="tip_login_otp" style="position:absolute; visibility:hidden; margin:-35px 0 0 -35px;"&gt;
      &lt;img src="images/tip_login_otp.png" /&gt;
      &lt;/div&gt;      
      &lt;input id="submit" name="submit" type="image" style="margin: 10px 0 0 20px; float:right" src="images/bt_submit.gif" /&gt;   
  
      &lt;% 
      String email = request.getParameter( "email" );
      session.setAttribute( "email", email );
  
      String password = request.getParameter( "password" );
      session.setAttribute( "password", password);
      %&gt;      
  
  &lt;/form&gt;
  </code></pre>