• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

BeanUtils.populate..

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!