Used as a typesafe Session container. This is an alternative to using calls
to request.getAttributes( key ) and casting.
The User object is saved in session scope by ConfigAction:
HttpSession session = request.getSession();
User user = request.getAttributes( UserContainer.WEB_CONTAINER_KEY );
if( user == null ){
user = new UserContainer( request.getLocal() );
session.setAttributes( UserContainer.WEB_CONTAINER_KEY, user );
}
This class is based on the UserContainer class outlined in the book
"Programming Jakarta Struts" by Chuck Cavaness.