Two Laptop Bag
The moose likes Struts and the fly likes BeanUtils.populate.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: BeanUtils.populate..
 
Similar Threads
Dynamic Form Elements - Exception
Unhandled exception: javax.servlet.ServletException: BeanUtils.populate
struts file uploading problem
logic:iterate problem: NullPointerException
java.lang.IllegalArgumentException: Cannot invoke UploadForm.setUplaod - argument type mismatch