A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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