From: David Wall <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Retrieving List from a request/session attribute
Date: Thu, 22 Jun 2006 11:19:07 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by
bay0-mc6-f19.bay0.
On 6/22/06, David Wall <[EMAIL PROTECTED]> wrote:
Is there a correct way to retrieve a typed List from a request/session
attribute? The attribute is returned as an Object, but using a cast like:
List var = (List)request.getAttribute(name);
results in a warning:
Type safety: The cast from Obje
Is there a correct way to retrieve a typed List from a request/session
attribute? The attribute is returned as an Object, but using a cast like:
List var = (List)request.getAttribute(name);
results in a warning:
Type safety: The cast from Object to List is actually checking
against the erase