• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ServletException with BeanUtils.populate

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am using DynaAction from struts 1.1 in building a form dynamically.
Say I have a purchase order form where there are multiple line items and
which are being added dynamically.
I have added couple of line items and then after a brief period when i try
to add more line items I get the above error javax.servlet.ServletException:BeanUtils.populate.
This occurs if there is session timeout which if I remove does not give the
above error,but which is not a viable solution.
Is there any way to get rid of this problem.
Looking forward to yours reply.
Thanks in advance
Koushik
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You said ::

This occurs if there is session timeout




Please check current session is invalid/valid (timeout) before call this method.

And sometime, you can set session is not expire in DD or in your source code.
 
tukai chakraborty
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i had tried out this option also but its not working.struts straight away calls the BeanUtils.populate method and hence resulting in the exception which i had said about.
 
What's a year in metric? Do you know this metric stuff tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic