title: Is there command to stop execution of the jsp file?
body: <p>I have a JSP file that contains lots of if statements.</p>
  
  <p>Is there a way to stop execution of file on demand?</p>
  
  <p>For example:</p>
  
  <p>Can I change:</p>
  
  <pre><code>if (x==y) {
  ...
  } else {
  ...
  }
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>if (x==y) {
  ....
  stopExecution();
  }
  ....
  </code></pre>