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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark ""BeanUtils.populate" Problem" Watch ""BeanUtils.populate" Problem" New topic
Author

"BeanUtils.populate" Problem

Serkan Demir
Ranch Hand

Joined: Feb 03, 2005
Posts: 61
Hi everybody,
I have a problem with my Struts application. I have a dynavalidator form in which i can register new City information. Its struts-config file includes


In this form, i need to populate Country bean since i have a list box which is full of Country names.
When i try to save a new form, i will get BeansUtils.populate error.Could you help me? Is there a wrong with my struts-config.xml file?
JSP code is as following;


A guy from Turkey<br /><a href="http://blogspot.serkandemir.com" target="_blank" rel="nofollow">http://blogspot.serkandemir.com</a>
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I'm not as fluent as most in the DynaForm world (I don't like them).

But I think that you should use only Strings in your DynaForm. I know that using Integer can give problems and your other objects might be the same way but I'm not positive.


A good workman is known by his tools.
Serkan Demir
Ranch Hand

Joined: Feb 03, 2005
Posts: 61
No, i dont think that problem is about Integer. I think the problem is about performing a new property of Country Bean. I am unable to populate this bean and get BeanUtils.Populate error.
Is there any one who suffers from this problem and solve it by the way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "BeanUtils.populate" Problem
 
Similar Threads
NestedNullException:Null property value for XXX
Cannot find bean coursesList in any scope
LogonView.jsp Displays A Blank Page
how to iterate.
server side validation errors