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 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 "javax.servlet.ServletException: BeanUtils.populate" Watch "javax.servlet.ServletException: BeanUtils.populate" New topic
Author

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
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

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.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: javax.servlet.ServletException: BeanUtils.populate