David--
Personally...I would use reflection...
try
{
List var = Class.forName(request.getAttribute(name));// get class
definitions
o = var.newInstance(); //Instantiate a new class using the class(and
consequent definitions)..
}
catch(Exception excp)
{
System.out.println("Didnt like the class .
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