title: JSP / servlet combination doesn’t submit form on Enter if only form element is a submit button
body: <p>This is a follow on to my previous question:</p>
  
  <p><a href="https://stackoverflow.com/questions/2367745/jsp-servlet-ie-combination-doesnt-submit-form-detail-on-enter">JSP / servlet / IE combination doesn’t submit form detail on Enter</a></p>
  
  <p>Inside the form, we have: </p>
  
  <pre><code>&lt;input ... type="submit" name="confirm" value="Confirm"/&gt;
  </code></pre>
  
  <p>There are no input fields on this form. This form appears at the end of a workflow and is essentially a verification to proceed.</p>
  
  <p>This form is not submitted to either IE or Firefox when the Enter key is pressed. It works perfectly if the "Confirm" button is pressed.</p>
  
  <p>Following on the answer to my previous question, I have tried adding dummy fields such as:</p>
  
  <pre><code>&lt;input type="hidden" /&gt;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&lt;input type="text" style="display: none;" /&gt;
  </code></pre>
  
  <p>but they make no difference.</p>
  
  <p>For various reasons, we would prefer not to use Javascript.</p>
  
  <p>Any suggestions to get the Enter key to submit?</p>