What to send to the JSP depends on how you're getting the data. If you're using Hibernate, you could just expose the list of objects to the JSP. If you're using raw JDBC you'd create a list of transfer objects from the result set and expose that.
I had already taken the results in the List.
Is it a better way or i have to use HashMap or something.
After taking into list am not able to write logic in jsp to populate this results, as for me it seems to be a bit tricky.But for a simple data am able to do it
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.