Gets the CounterBean from the specified scope, or creates a
new one if it doesn't exist, and increments the value of
the counter for the current page.
CounterBean counters = (CounterBean)
pageContext.getAttribute("com.ora.counter", scope);
if (counters == null) {
counters = new CounterBean();
pageContext.setAttribute("com.ora.counter", counters, scope);
}
HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
String uri = req.getRequestURI();
counters.incrementValue(uri);
return EVAL_PAGE;