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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to