File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 66
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: 8702
    
    6

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
how to solve this problem???
jsp exception while using logic:iterate
Using a DataBean Object in Struts Form bean
ServletException with BeanUtils.populate
Beanutils.populate error with file upload control