adding code to select.jsp for proper functioning

fixing,adding code to select.jsp for proper functioning