How to declare a Generics Action in struts2.xml file ?
Posted
by Rasatavohary
on Stack Overflow
See other posts from Stack Overflow
or by Rasatavohary
Published on 2010-03-25T14:40:56Z
Indexed on
2010/03/25
14:43 UTC
Read the original article
Hit count: 429
Hi everyone,
My problems is in a Struts2 action, where
I have a class :
public class MyAction<T> extends ActionSupport
with a private member like this :
private T myData;
And I would like to declare this aciton in the struts.xml file, how can i manage to do so ?
Thanks for the answer.
Ps : I've tried without declaration of T, but it did not work
© Stack Overflow or respective owner