<html>
  <body>
<h3>2.13.1 jsp:useBean</h3>
<% { %> <jsp:useBean id="myhash2" class="java.util.Hashtable" scope="page"/>
<% myhash2.put("key1", "value1"); pageContext.setAttribute("myhash", myhash2, PageContext.PAGE_SCOPE); %> <% } %>
<jsp:useBean id="myhash" class="java.util.Hashtable">
<% if(true) throw new ServletException("I should have been ignored ..."); %>
</jsp:useBean>
Value: <%= myhash.get("key1") %>
<br>Default scope is page.
  </body>
</html>
