JSP page scope : Page Context « JSP « Java






JSP page scope

<jsp:useBean id="myBookBean"   class="com.java2s.Book"
             scope="page" />

<html>
  <head>
    <title>page scope</title>
  </head>
  <body>
    This page declares a page-scoped Book.
  </body>
</html>
           
       








Related examples in the same category

1.Page directive attributes
2.Application Object
3.Set page parameters
4.Set JSP PageContext attributes