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
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
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
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
4 matches
Mail list logo