It's not a secret anymore!
The moose likes Struts and the fly likes javax.servlet.ServletException: BeanUtils.populate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "javax.servlet.ServletException: BeanUtils.populate" Watch "javax.servlet.ServletException: BeanUtils.populate" New topic

javax.servlet.ServletException: BeanUtils.populate

Mahesh Bamane
Ranch Hand

Joined: Mar 12, 2008
Posts: 68
I have been getting the following exception when i submit the form:

javax.servlet.ServletException: BeanUtils.populate

Please advise.

In what scenarios this exception comes?

There is nothing like trying, either you do it or you don't.
SCJP 1.5
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

What is the full exception stack trace?
BeanUtils is used to copy fields from one JavaBean to another. Most likely a bean has a field who's name matches a field in another bean but there's a type conflict. The stack trace should give you more information.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: javax.servlet.ServletException: BeanUtils.populate
It's not a secret anymore!