org.appfuse.webapp.action
Class UserCounterController

java.lang.Object
  extended byorg.apache.struts.tiles.ControllerSupport
      extended byorg.appfuse.webapp.action.UserCounterController
All Implemented Interfaces:
Controller

public final class UserCounterController
extends ControllerSupport

UserCounterController class. This class is used to display the number of current users on a particular tile (JSP page).

View Source

Version:
$Revision: 1.4 $ $Date: 2004/03/31 13:04:24 $
Author:
Matt Raible

Constructor Summary
UserCounterController()
           
 
Method Summary
 void execute(ComponentContext tilesContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
          This method illustrates a simple example of using a Tiles Controller to get a "current users" counter for this application.
 
Methods inherited from class org.apache.struts.tiles.ControllerSupport
perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCounterController

public UserCounterController()
Method Detail

execute

public void execute(ComponentContext tilesContext,
                    HttpServletRequest request,
                    HttpServletResponse response,
                    ServletContext servletContext)
             throws ServletException,
                    IOException
This method illustrates a simple example of using a Tiles Controller to get a "current users" counter for this application.

Parameters:
tilesContext - Current tile context
request - Current request
response - Current response
servletContext - Current Servlet Context
Throws:
ServletException - DOCUMENT ME!
IOException - DOCUMENT ME!


Copyright © 2002-2004