<%@ page import="com.jguru.CounterBean" %> <%-- provide appropriate values for the class and scope attributes --%> <% session_counter.increaseCount(); synchronized(page) { app_counter.increaseCount(); } %>

Number of accesses within this session: <%-- provide appropriate values for the name attribute --%>

Total number of accesses: <%-- provide appropriate values for the name attribute --%> <% synchronized(page) { %> <% } %>