struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdeepak <deepaksrivas...@gmail.com>
Subject @Element annotation
Date Thu, 19 Jul 2007 14:01:11 GMT

Hi all,

Does any one know how to use @Element annotations.

Instead of using the <actionClass>-conversion.properties file.

I tried using it as shown below:

@Element(value=com.utils.Person.class)
private List<Person> persons;

But it gives a NullPointerException whenever i submit the form.
But with the properties file this works fine.

I am using JDK 6.

Any ideas what is happening here?

Regards,
Deeepak
-- 
View this message in context: http://www.nabble.com/%40Element-annotation-tf4111247.html#a11689824
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message