title: why use jsp:useBean here but not just create a new object?
body: <p>In a JSP page, there is such code:</p>
  
  <pre><code>&lt;jsp:useBean id="checklog"  class="com.google.admin.guard.CheckLogBean" scope="session" /&gt;
  </code></pre>
  
  <p>and then </p>
  
  <pre><code>&lt;% checklog.checkit(); %&gt;
  </code></pre>
  
  <p>Why we don't just create the object with <code>new com.google.admin.guard.CheckLogBean</code>?
  What's the benefit of doing this?</p>
  
  <p>And in the source code, there is no such class, but when we deploy it to server, it works. It seems that the server can pass the class to it?</p>
  
  <p>Thanks.</p>