File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Muhammad Imad Qureshi
Joined: Sep 13, 2005
Jan 16, 2006 09:13:00
I am getting following exception in my
action threw exception
: Null property value for 'locationKey'
I get this exception when I click "save" button on my jsp. locationKey itself is an object of class "LocationKey" and a member of class "Location".
this is how I pass it to jsp
<html:hidden name="addressMaintenanceForm" property="location.locationKey" />
<html:hidden name="addressMaintenanceForm" property="location.locationKey.phoneNumber.number" />
<html:hidden name="addressMaintenanceForm" property="location.locationKey.phoneNumber.exchange" />
<html:hidden name="addressMaintenanceForm" property="location.locationKey.phoneNumber.areaCode" />
<html:hidden name="addressMaintenanceForm" property="location.locationKey.phoneNumber.extension" />
phoneNumber is an object and member of LocationKey and then phoneNumber has strings "number",
, areaCode and extension.
Can anyone please help.
I agree. Here's the link:
getting value in logic iterate
[SPRING] Java Bean doesn't get prepared
example Code from Spring In Action
save indexed properties
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015