This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "BeanUtils.populate.." Watch "BeanUtils.populate.." New topic
Author

BeanUtils.populate..

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.


Merrill
Consultant, Sima Solutions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: BeanUtils.populate..