how to display multiple records from database having the same field value by using result set statement
You have to create a POJO to store the data obtained via your query and then via ResultSet you can iterate each row obtained from DB Query execution.
So you will get a List of object(POJO). This can be used wherever you want. http://java.sun.com/docs/books/tutorial/jdbc/basics/retrieving.html
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2691&lngWId=2