my dog learned polymorphism*
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
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: 8836
    
    7

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.servlet.ServletException: BeanUtils.populate
 
Similar Threads
jsp exception while using logic:iterate
Beanutils.populate error with file upload control
Using a DataBean Object in Struts Form bean
ServletException with BeanUtils.populate
how to solve this problem???