java script talk to jsp to get the data from database