<html><head><title>The scope Attribute</title></head>
<jsp:useBean id="mybean" class="org.gjt.jsp.test.MiniBeanSNotSet" scope="page"/>
  <body>
    <h1>The scope Attribute</h1>
page - The named object is available from the javax.servlet.jsp.PageContext for the current page.
<p>The reference shall be discarded upon completion of the current request by the page body.
(FIXME: how to check discard?)
<% mybean.setS("set"); org.gjt.jsp.test.MiniBeanSNotSet o = 
(org.gjt.jsp.test.MiniBeanSNotSet) pageContext.getAttribute("mybean", PageContext.PAGE_SCOPE);%>
<br>Value: <%= o.getS() %>
  </body>
</html>
