Mega Code Archive

 
Categories / Java / JSP
 

Using Bean Scope Application

<%@ page errorPage="errorpage.jsp" %> <jsp:useBean id="counter" scope="application" class="beans.Counter" /> <html>   <body>     <center><b>The current count for the counter bean is: </b>       <%=counter.getCount() %></center>   </body> </html>                     UsingBeanScopeApplication.zip( 89 k)