Getting selected record from grid to jsp.