How do you solve a NumberFormatException?

I have a jsp page where I am using JSTL to display data, like so:


Problem is that this page returns an error 500 - NumberFormatException: For input string: "eventID".

Why is this, is it due to my getters and setters in the that the events object comes from? getter and setter

public String GetEventID() {

return eventID;


public void SetEventID(String eventID) {

this.eventID = eventID;


I am failing to see where this error comes from as it doesn't seem to be a type error (my type is a string throughout).


Read More »

By: StackOverFlow - 6 days ago

Related Posts