permaculture playing cards
The moose likes Struts and the fly likes BeanUtils.populate.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "BeanUtils.populate.." Watch "BeanUtils.populate.." New topic


Mallik Avula
Ranch Hand

Joined: Nov 30, 2006
Posts: 86
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:

exception is:

any body can help?

Thanks & Regards<br />Mallik Avula<br />SCJP1.4
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: BeanUtils.populate..
It's not a secret anymore!