James Winfrey wrote:
MyObj is not working
does not help us to answare, post the error stack trace . also scriptlet is a legacy style, should be avoided.
also dont assign an arraylist object to an arraylist reference type. because you would tieup with arraylist specific operatios, instead use List *interface*.