You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ra...@nmsworks.co.in on 2004/05/26 11:22:23 UTC

scope and presenting realtime data

Hi,

We are developing a web based interface (struts + jsp etc) for realtime 
monitoring of server cpu usage.

We have written a bean that will contact the server and get the current
cpu usage and return that value. I want to plot a line graph (using
jfreechart) with the cpu usage in Y-axis and time in X-axis.  The Graph
need to plot the last 'N' values + the current value during each refresh.

The issue is how to remember these last N values. I do not want to assign 
session scope for this object as the end-user might monitor for more than 
one servers and several users might be using the system at same time.

How this situation is typically handled in the Struts+jsp environment.

thanks & regards
  -Ramudu


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org