|
If this is a chat application, I assume you're taking input from several sessions and coordinating them, right? Why not store the ArrayList in the application scope (you can access the Context object by calling getServletContext() ) ? That way all the sessions can access the variable. Try doing that, then simply retrieving the List in the JSP and process it on the fly . . .
|