<html>
  <body>
<h3>2.13.1 jsp:useBean</h3>
<% { %> <jsp:useBean id="myhash2" class="java.util.Hashtable" />
<% myhash2.put("key1", "value1"); pageContext.setAttribute("myhash", myhash2);%> <% } %>
<jsp:useBean id="myhash" type="java.util.Stack">
<% if(true) throw new ServletException("I should have been ignored ..."); %>
</jsp:useBean>
Value: <%= myhash.pop() %>
<br>A ClassCastException may be raised if the object is of the wrong class.
  </body>
</html>
