Re: Struts and Generics

2005-07-06 Thread Michael Taylor
Java generics are a compile-time feature only. The compiler uses your extra information (parameterized types) in order to detect some errors and eliminate the drudgery of some casting for you. However, when you run the JVM it has no knowledge of generics. Therefore, if you have an instance o

Re: Struts and Generics

2005-07-06 Thread Laurie Harper
I'd say it depends on how Struts processes the form bean declaration. Assuming it's using straight reflection, I don't see why generics wouldn't work. However, Kent, you will need to correct your XML: the error you're seeing is becuase what you have can't be parsed (it's not well formed). Give

RE: Struts and Generics

2005-07-06 Thread Nitesh Naveen
Generics is a Java 5.0 feature... Don't think the features with 5.0 are introduced to Struts framework yet! Thanks & Regards, Nitesh _ Disclaimer: Information contained and transmitted by this e-mail is confidential, proprietary, and legally privileged data of Cord

Re: Struts and Generics

2005-07-06 Thread Stéphane Zuckerman
Hello Kent, I'm wondering whether it's possible to use generics with struts. I strongly doubt it, since J2EE isn't using the Java 1.5 SDK, but 1.4 . Now, maybe am I saying something stupid. :-) -- Stéphane Zuckerman - To un