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
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Muhammad Imad Qureshi
Joined: Sep 13, 2005
Jan 16, 2006 09:13:00
I am getting following exception in my jsp.
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", exchange, areaCode and extension.
Can anyone please help.
I agree. Here's the link:
save indexed properties
[SPRING] Java Bean doesn't get prepared
getting value in logic iterate
example Code from Spring In Action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014