I'm getting an exception when displaying my jsp page that tries to invoke a function defined getCurrentlocation()
in type Person
.
The function is invoked by ${person.currentlocation}
in the jsp file.
type Exception report
message javax.el.ELException: Error reading 'currentlocation' on type **.person.Person
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.el.ELException: Error reading 'currentlocation' on type **.person.Person
I am pretty new to jsp technology. Maybe someone could help me out!
Thanks, Benjamin
getCurrentLocation()
? Also check that the getter is public. – Mueller