Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Error 500: BeanUtils.populate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error 500: BeanUtils.populate" Watch "Error 500: BeanUtils.populate" New topic

Error 500: BeanUtils.populate

Meyer Florian
Ranch Hand

Joined: Oct 20, 2003
Posts: 62
Hey there!
In a JSP, I've got a form with a submit button and an image button.
I used taglibs for that (<html:submit ...> and <html:image ...> .
I'm also using struts.
When I click the submit button, the form action will be called and the data of the form is saved in the Form bean.
When I click the image button, I will get an error message "Error 500: BeanUtils.populate" displayed in the browser window.
The image button also passes the mouse coordinates to the FormBean (something like myeditbutton.x, myeditbutton.y).
The submit button works because its property name is the same as the variable name in the FormBean. But the image button only (or also) sends the coordinates of the mouseclick. How can I get the real "value" as with the submit button?
I think this is a very known problem because: I cannot use image buttons. That can not be true =)
Thanks for any help!
Meyer Florian
Ranch Hand

Joined: Oct 20, 2003
Posts: 62
Sorry, I found it:
It is sorta covered in the JavaRanch Style Guide.
subject: Error 500: BeanUtils.populate
Similar Threads
Error 500 in servlet
indexed buttons
How to avoid submitting html input type image coordinates to server
form-bean with DynaValidatorForm
image button value not present in servlet