HI all i am using nested tag in my page, and i am getting the page well. but when i submit, i am doing the validation and redisplaying the form if any errors there. that time i am getting problem. my jsp code:
any body can help?
Thanks & Regards<br />Mallik Avula<br />SCJP1.4
Joined: Feb 15, 2005
I suspect this problem is occurring because you have placed your ActionForm in request scope and have not provided "lazy initialization" capability for your indexed getters. Because you have a fairly complex structure of questions and options that would be hard to recreate, I would recommmend that you specify session scope for the ActionForm in this case.
This article will give you some more insights as to why this is happening.