Jsp Using Bean Scope Session : Session « JSP « Java
- Java
- JSP
- Session
Jsp Using Bean Scope Session
<%@ page errorPage="errorpage.jsp" %>
<jsp:useBean id="counter" scope="session" class="beans.Counter" />
<html>
<head>
<title>Session Bean Example 1</title>
</head>
<body>
<H3>Session Bean Example 1</H3>
<center><b>The current count for the counter bean is: </b>
<%=counter.getCount() %></center>
</body>
</html>
JspUsingBeanScopeSession.zip( 90 k)Related examples in the same category