Re: How to get subclass objects in an arraylist?

2009-04-22 Thread sunil kumar
Hi Gustavo, Thank you for your reply. My problem is that, I have different subclasses of the Class Question. and since the form is dynamic, there is no way for me to know which Question objects are going to come through... I thought the only way is to have an interceptor or i just read about typ

How to get subclass objects in an arraylist?

2009-04-22 Thread sunil kumar
My subject line may not be close to the problem I will go straight into code so i can explain my problem clearly... I have an action class which looks like this: Please note, I have left out all the getter and setter methods public class TestAction extends ActionSupport {pri