Order the Book

coreservlets
Class AccessCountBean

java.lang.Object
  |
  +--coreservlets.AccessCountBean

public class AccessCountBean
extends Object

Simple bean to illustrate sharing beans through use of the scope attribute of jsp:useBean.

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.


Constructor Summary
AccessCountBean()
           
 
Method Summary
 int getAccessCount()
           
 String getFirstPage()
           
 void setFirstPage(String firstPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessCountBean

public AccessCountBean()
Method Detail

getFirstPage

public String getFirstPage()

setFirstPage

public void setFirstPage(String firstPage)

getAccessCount

public int getAccessCount()

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive