| Author |
Passing a ResultSet from a servlet
|
Zein Nunna
Ranch Hand
Joined: Mar 31, 2005
Posts: 245
|
|
Guys, I was just curious, is it possible to send a ResultSet from a Servlet to a JSP? If so how is this done? Thanks in advance Zein
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Any java object can be bound to request, session, or context scope and read in a JSP. People ususally process the resultset in the servlet or bean and pass a lighter, more generic object like a an arrayList or a plain old java array. JSPs shouldn't need to import any of the java.sql packages.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Passing a ResultSet from a servlet
|
|
|