JavaRanch Home
 
Front Page FAQs Ranchers Categories Recent Changes To Do Upload
An exception occurred - please try again.

Populate Error   



'''Exception thrown : javax.servlet.S''''''ervletException: B''''''eanUtils.populate''' This error occurs as Struts is trying to populate the properties in your A''''''ctionForm. It means that Struts is unable to convert the String that is coming from the HTML form into whatever data type you specified for a property in your A''''''ctionForm. For example, if you have a property of type java.util.Date, you'll get this error because Struts (or more accurately, the B''''''eanUtils) can't convert a String into a java.util.Date object. The safest way to avoid this error is to make all the properties of an A''''''ctionForm Strings and then convert them into other data types later on in your model classes. ----- Return to StrutsFaq
Front Page FAQs Ranchers Categories Recent Changes To Do Upload
Last Edited: 20 March 2007 What's Changed?
 
Copyright © 1998-2008 Paul Wheaton | Home | About Us | Privacy | Register